* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            /* 파스텔톤 색상 팔레트 */
            --primary-dark: #2C3E50;
            --primary: #34495E;
            --secondary: #7F8C8D;
            --accent-gold: #D4AF96;
            --accent-green: #A8D5BA;
            --accent-red: #F4A5A5;
            --accent-blue: #A6C5D8;
            --accent-orange: #F5C9A3;
            --accent-purple: #D4A5D4;
            --market-up-text: #ef3434;
            --market-down-text: #0b63ff;
            
            /* 파스텔톤 배경 */
            --bg-primary: #F3EBE0;
            --bg-secondary: #E8E0D5;
            --bg-light: #FCF9F6;
            --bg-accent-blue: #E8F4F8;
            --bg-accent-green: #E8F4F0;
            
            --neutral-light: #F8F9FA;
            --neutral-mid: #E0E6ED;
            --text-dark: #2C3E50;
            --text-light: #95A5A6;
            --buy: #A8D5BA;
            --sell: #F4A5A5;
            --hold: #A6C5D8;
            --warning: #F5C9A3;
            --shadow-sm: 0 1px 3px rgba(44, 62, 80, 0.08);
            --shadow-md: 0 4px 12px rgba(44, 62, 80, 0.12);
            --shadow-lg: 0 10px 28px rgba(44, 62, 80, 0.15);
            --page-content-max: 1360px;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
            background: var(--bg-primary);
            color: var(--text-dark);
            line-height: 1.6;
            display: block;
        }

        #appShell {
            width: 100%;
            min-height: 100vh;
        }

        body.ui-visibility-pending .sidebar-section,
        body.ui-visibility-pending .header-right [data-ui-visibility-key] {
            display: none !important;
        }

        body.ui-visibility-pending .site-ad,
        body.ui-visibility-pending [data-ad-slot-key],
        body.ui-visibility-pending [data-ui-visibility-key^="ads."] {
            display: none !important;
        }

        body.ui-visibility-pending .sidebar {
            overflow-x: hidden;
        }

        #appShell[hidden],
        .coming-soon-screen[hidden] {
            display: none !important;
        }

        .site-ad[hidden],
        .site-ad-rail[hidden],
        .site-ad-inline[hidden],
        .layout-ad-sticky [hidden],
        [data-ad-slot-key][hidden] {
            display: none !important;
        }

        .coming-soon-screen {
            min-height: 100vh;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 32px;
            background:
                radial-gradient(circle at top left, rgba(166, 197, 216, 0.28), transparent 30%),
                radial-gradient(circle at bottom right, rgba(212, 175, 150, 0.26), transparent 34%),
                linear-gradient(135deg, #f7f0e6 0%, #f3ebe0 45%, #fcf9f6 100%);
        }

        .coming-soon-shell {
            width: min(720px, 100%);
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(224, 230, 237, 0.9);
            border-radius: 28px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(44, 62, 80, 0.12);
            backdrop-filter: blur(10px);
        }

        .coming-soon-badge {
            display: inline-flex;
            padding: 8px 14px;
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.24), rgba(168, 213, 186, 0.22));
            border: 1px solid rgba(212, 175, 150, 0.4);
            color: var(--text-dark);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 18px;
        }

        .coming-soon-title {
            font-size: clamp(40px, 6vw, 64px);
            line-height: 1.05;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 14px;
        }

        .coming-soon-copy {
            font-size: 18px;
            line-height: 1.8;
            color: rgba(44, 62, 80, 0.82);
            margin-bottom: 24px;
        }

        .coming-soon-meta {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .coming-soon-meta-item {
            padding: 18px;
            border-radius: 18px;
            background: var(--bg-light);
            border: 1px solid var(--neutral-mid);
        }

        .coming-soon-meta-label {
            display: block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .coming-soon-meta-value {
            display: block;
            font-size: 20px;
            font-weight: 800;
            color: var(--text-dark);
        }

        /* ========== SIDEBAR ========== */
        .sidebar {
            width: 100%;
            background: white;
            border-bottom: 1px solid var(--neutral-mid);
            padding: 12px max(20px, calc((100vw - 1540px) / 2));
            min-height: 68px;
            overflow-x: auto;
            overflow-y: visible;
            position: sticky;
            top: 0;
            left: auto;
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.2s ease;
            z-index: 100;
            display: flex;
            align-items: center;
            gap: 16px;
            scrollbar-width: thin;
        }

        .sidebar-header {
            padding: 0;
            border-bottom: 0;
            margin-bottom: 0;
            flex: 0 0 auto;
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 0;
            white-space: nowrap;
        }

        .sidebar-logo-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
        }

        .sidebar-logo-icon svg {
            width: 22px;
            height: 22px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .sidebar-logo-text {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .sidebar-section {
            padding: 0;
            margin-bottom: 0;
            flex: 0 0 auto;
        }

        .sidebar-section-title {
            display: none;
        }

        .sidebar-menu {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .sidebar-item {
            margin-bottom: 0;
            flex: 0 0 auto;
        }

        .sidebar-item[hidden],
        .sidebar-section[hidden],
        [data-ui-visibility-key][hidden] {
            display: none !important;
        }

        .sidebar-item[data-ui-visibility-key^="nav."] {
            display: none;
        }

        .sidebar-item[data-ui-visibility-key^="nav."].ui-visible {
            display: block !important;
        }

        .sidebar-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 9px 12px;
            color: var(--text-dark);
            text-decoration: none;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            background: transparent;
            border: none;
            white-space: nowrap;
        }

        .sidebar-icon {
            width: 26px;
            height: 26px;
            flex: 0 0 26px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            background: rgba(255, 255, 255, 0.72);
            border: 1px solid var(--neutral-mid);
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .sidebar-icon svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .sidebar-link:hover {
            background: linear-gradient(135deg, var(--bg-accent-blue) 0%, var(--bg-accent-green) 100%);
            color: var(--accent-gold);
        }

        .sidebar-link:hover .sidebar-icon {
            color: var(--accent-gold);
            border-color: rgba(221, 160, 115, 0.48);
            box-shadow: 0 8px 18px rgba(221, 160, 115, 0.16);
        }

        .sidebar-link.active {
            background: linear-gradient(135deg, var(--bg-accent-blue) 0%, var(--bg-accent-green) 100%);
            color: var(--accent-gold);
            font-weight: 600;
            border-left: 0;
            box-shadow: inset 0 -2px 0 var(--accent-gold);
        }

        .sidebar-link.active .sidebar-icon {
            color: white;
            background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
            border-color: transparent;
            box-shadow: 0 10px 22px rgba(221, 160, 115, 0.22);
        }

        .global-loading-progress {
            position: sticky;
            top: 68px;
            z-index: 95;
            width: 100%;
            height: 8px;
            background: #edf1f4;
            overflow: hidden;
            box-shadow: inset 0 -1px 0 rgba(8, 34, 60, 0.06);
        }

        .global-loading-progress[hidden] {
            display: none !important;
        }

        .global-loading-progress::before {
            content: '';
            position: absolute;
            top: 1px;
            bottom: 1px;
            left: 0;
            width: 72%;
            border-radius: 999px;
            background: linear-gradient(90deg, #cfad94 0 33%, #a8c8d8 33% 100%);
            transform-origin: left center;
            animation: global-loading-progress-sweep 1.25s ease-in-out infinite;
        }

        .global-loading-progress::after {
            content: '';
            position: absolute;
            inset: 1px 0;
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.42), transparent 42%, rgba(255, 255, 255, 0.2));
            pointer-events: none;
        }

        @keyframes global-loading-progress-sweep {
            0% {
                transform: translateX(-76%) scaleX(0.72);
            }
            46% {
                transform: translateX(8%) scaleX(1);
            }
            100% {
                transform: translateX(138%) scaleX(0.76);
            }
        }

        .scroll-top-button {
            position: fixed;
            right: 24px;
            bottom: 24px;
            z-index: 110;
            width: 52px;
            height: 52px;
            border: 1px solid rgba(22, 119, 255, 0.24);
            border-radius: 999px;
            background: linear-gradient(135deg, #0b2d52 0%, #1677ff 100%);
            color: #ffffff;
            box-shadow: 0 14px 32px rgba(11, 39, 72, 0.24);
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1px;
            cursor: pointer;
            opacity: 0;
            transform: translateY(10px);
            pointer-events: none;
            transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
        }

        .scroll-top-button[hidden] {
            display: none !important;
        }

        .scroll-top-button.is-visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .scroll-top-button:hover {
            background: linear-gradient(135deg, #082240 0%, #0f63e8 100%);
            box-shadow: 0 18px 38px rgba(11, 39, 72, 0.3);
        }

        .scroll-top-button:focus-visible {
            outline: 3px solid rgba(22, 119, 255, 0.28);
            outline-offset: 3px;
        }

        .scroll-top-arrow {
            font-size: 18px;
            line-height: 1;
            font-weight: 900;
        }

        .scroll-top-label {
            font-size: 10px;
            line-height: 1;
            font-weight: 900;
            letter-spacing: 0;
        }

        /* ========== MAIN WRAPPER ========== */
        .main-wrapper {
            width: 100%;
            max-width: 100%;
            margin-left: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            background: var(--bg-primary);
            min-width: 0;
        }

        /* ========== HEADER ========== */
        .header {
            background: white;
            border-bottom: 1px solid var(--neutral-mid);
            padding: 0 max(20px, calc((100vw - 1540px) / 2));
            min-height: 58px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: var(--shadow-sm);
            position: relative;
            top: auto;
            z-index: 40;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 16px;
            flex: 1;
        }

        .sidebar-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: var(--text-dark);
            padding: 8px 12px;
        }

        .header-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .header-right {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .header-btn {
            padding: 8px 16px;
            background: var(--bg-light);
            border: 1px solid var(--neutral-mid);
            border-radius: 6px;
            color: var(--text-dark);
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .header-btn:hover {
            border-color: var(--accent-gold);
            background: white;
        }

        /* ========== CONTAINER ========== */
        .page-layout {
            width: 100%;
            display: grid;
            grid-template-columns: minmax(150px, 240px) minmax(0, var(--page-content-max)) minmax(150px, 240px);
            gap: 24px;
            align-items: start;
            justify-content: center;
            padding: 24px max(16px, calc((100vw - 1840px) / 2)) 0;
        }

        body.ads-globally-hidden .page-layout {
            grid-template-columns: minmax(0, var(--page-content-max));
        }

        @media (min-width: 769px) {
            .header {
                min-height: 10px;
                padding: 0;
                border-bottom: 0;
                box-shadow: none;
                background: transparent;
            }

            .header-left,
            .header-right {
                display: none;
            }

            .page-layout {
                padding-top: 10px;
            }
        }

        .content-column {
            min-width: 0;
            width: 100%;
        }

        .container {
            flex: 1;
            overflow: visible;
            padding: 0;
            max-width: none;
            margin: 0;
            width: 100%;
            min-width: 0;
            display: flex;
            flex-direction: column;
            align-items: stretch;
        }

        .layout-ad-rail {
            min-width: 0;
            display: block;
        }

        body.ads-globally-hidden .layout-ad-rail {
            display: none !important;
        }

        .layout-ad-sticky {
            position: sticky;
            top: 104px;
            display: grid;
            gap: 24px;
        }

        .site-ad,
        [data-ui-visibility-key^="ads."],
        [data-ad-slot-key] {
            position: relative;
            display: none;
        }

        .site-ad {
            display: none;
            width: 100%;
            border: 1px solid var(--neutral-mid);
            border-radius: 8px;
            background: linear-gradient(135deg, rgba(252, 249, 246, 0.96), rgba(232, 244, 248, 0.9));
            box-shadow: var(--shadow-md);
            overflow: hidden;
        }

        [data-ui-visibility-key^="ads."],
        [data-ad-slot-key] {
            display: none;
        }

        .site-ad.ad-visible,
        [data-ui-visibility-key^="ads."].ad-visible,
        [data-ad-slot-key].ad-visible {
            display: block !important;
        }

        .site-ad-label {
            position: absolute;
            top: 8px;
            right: 8px;
            z-index: 1;
            padding: 3px 7px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.84);
            border: 1px solid rgba(224, 230, 237, 0.8);
            color: var(--text-light);
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.04em;
        }

        .site-ad-rail {
            min-height: 600px;
        }

        .site-ad-rail-secondary {
            min-height: 360px;
        }

        .site-ad-rail-compact {
            min-height: 280px;
        }

        .site-ad-inline {
            min-height: 112px;
            margin: 24px 0 32px;
        }

        body.ads-globally-hidden .site-ad-inline,
        body.ads-globally-hidden [data-ui-visibility-key^="ads."],
        body.ads-globally-hidden [data-ad-slot-key] {
            display: none !important;
        }

        .layout-ad-slot {
            width: 100%;
            min-height: inherit;
        }

        .site-ad-placeholder {
            min-height: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            color: var(--text-light);
            font-size: 12px;
            font-weight: 700;
            text-align: center;
        }

        .site-footer {
            margin-top: 36px;
            padding: 24px clamp(18px, 3vw, 40px);
            border-radius: 10px 10px 0 0;
            background: #05080b;
            color: rgba(255, 255, 255, 0.74);
            box-shadow: var(--shadow-md);
            text-align: center;
        }

        .site-footer-links {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0;
            margin-bottom: 12px;
            font-size: 13px;
            font-weight: 700;
        }

        .site-footer-link {
            color: #f2f7fb;
            text-decoration: none;
            padding: 0 16px;
            line-height: 1.2;
        }

        .site-footer-link:hover {
            color: var(--accent-gold);
            text-decoration: underline;
        }

        .site-footer-link + .site-footer-link {
            border-left: 1px solid rgba(255, 255, 255, 0.34);
        }

        .site-footer-info {
            display: grid;
            gap: 4px;
            font-size: 12px;
            line-height: 1.55;
            color: rgba(255, 255, 255, 0.58);
        }

        .site-footer-info-line {
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .site-footer-required-disclaimer {
            margin-top: 8px;
            font-size: 11px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.46);
        }

        .area-legal-note {
            margin-top: 14px;
            padding-top: 11px;
            border-top: 1px solid rgba(189, 208, 231, 0.68);
            color: #657486;
            font-size: 11px;
            font-weight: 700;
            line-height: 1.6;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .area-legal-note::before {
            content: "참고 고지";
            display: inline-flex;
            align-items: center;
            margin-right: 8px;
            padding: 2px 7px;
            border-radius: 999px;
            background: #eef5ff;
            color: #1263ff;
            font-size: 10px;
            font-weight: 900;
            white-space: nowrap;
        }

        .market-replay-shell > .area-legal-note {
            margin-top: clamp(16px, 1.5vw, 22px);
            padding: 13px 14px;
            border: 1px solid #cfe0f6;
            border-radius: 8px;
            background: #f7fbff;
        }

        .ai-core-analysis-section > .page-header {
            align-items: end;
        }

        .ai-core-analysis-section .ai-core-hero-header {
            grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
            gap: 16px 24px;
        }

        .ai-core-analysis-section .ai-core-hero-copy {
            display: grid;
            gap: 7px;
            align-content: start;
            min-width: 0;
        }

        .ai-core-analysis-section .ai-core-hero-copy .dashboard-hero-subtitle {
            grid-column: auto;
            max-width: 760px;
            margin: 0;
        }

        .ai-core-analysis-section .ai-core-date-control {
            align-self: end;
            justify-self: end;
            width: min(100%, 460px);
            max-width: 460px;
        }

        .ai-core-data-scope-mount {
            width: min(100%, 560px);
            min-height: 52px;
            margin-top: 8px;
        }

        .ai-core-data-scope-mount:empty {
            display: none;
        }

        .ai-core-data-scope-mount .ai-core-strategy-toggle {
            padding: 6px;
            border: 1px solid #d8e6f7;
            border-radius: 12px;
            background: #f8fbff;
            box-shadow: 0 10px 24px rgba(20, 45, 76, 0.05);
        }

        .ai-core-data-scope-mount .ai-core-strategy-chip span {
            font-size: 10px;
            line-height: 1.25;
        }

        .ai-core-content {
            display: grid;
            gap: 18px;
        }

        .ai-core-summary-card,
        .ai-core-panel {
            border: 1px solid #cfe0f4;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 12px 28px rgba(20, 45, 76, 0.06);
        }

        .ai-core-summary-card {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 16px;
            align-items: start;
            padding: 18px 20px;
        }

        .ai-core-strategy-toggle {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            align-content: start;
        }

        .dashboard-section .ai-core-strategy-chip {
            height: auto;
            min-height: 54px;
            padding: 9px 12px;
            display: grid;
            align-content: center;
            gap: 2px;
            line-height: 1.2;
        }

        .dashboard-section .ai-core-strategy-chip span {
            display: block;
            font-size: 11px;
            font-weight: 800;
            color: #64748b;
            word-break: keep-all;
            overflow-wrap: normal;
        }

        .dashboard-section .ai-core-strategy-chip.active span {
            color: #1f5f9c;
        }

        .ai-core-summary-head {
            display: grid;
            align-content: center;
            gap: 8px;
            min-width: 0;
        }

        .ai-core-analysis-section .ai-core-summary-head {
            grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
            align-items: start;
            gap: 14px;
        }

        .ai-core-summary-title {
            display: grid;
            gap: 8px;
            min-width: 0;
        }

        .ai-core-summary-head span {
            display: block;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
        }

        .ai-core-summary-head strong {
            color: #052749;
            font-size: 18px;
            line-height: 1.35;
            word-break: keep-all;
        }

        .ai-core-summary-head p {
            margin: 0;
            color: #17314f;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.65;
        }

        .ai-core-summary-context {
            display: grid;
            gap: 7px;
            padding: 12px 14px;
            border: 1px solid #dbe7f5;
            border-radius: 10px;
            background: #f8fbff;
        }

        .ai-core-summary-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(112px, 1fr));
            gap: 10px;
        }

        .ai-core-summary-tile {
            min-width: 0;
            min-height: 104px;
            padding: 13px 14px;
            border-radius: 12px;
            border: 1px solid #dbe7f5;
            background: #f8fbff;
            display: grid;
            align-content: space-between;
        }

        .ai-core-summary-tile span {
            display: block;
            color: #64748b;
            font-size: 12px;
            font-weight: 900;
            line-height: 1.35;
        }

        .ai-core-summary-tile strong {
            display: block;
            margin-top: 7px;
            color: #052749;
            font-size: 17px;
            line-height: 1.25;
            font-weight: 900;
            word-break: keep-all;
        }

        .ai-core-summary-tile p {
            margin: 7px 0 0;
            color: #6b7f96;
            font-size: 11px;
            line-height: 1.35;
            font-weight: 800;
        }

        .ai-core-summary-tile-positive {
            border-color: #bfe9d1;
            background: #f5fff9;
        }

        .ai-core-summary-tile-blue {
            border-color: #c8dcff;
            background: #f7fbff;
        }

        .ai-core-summary-tile-negative,
        .ai-core-summary-tile-risk {
            border-color: #ffcbd0;
            background: #fff8f8;
        }

        .ai-core-tabs {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .ai-core-tab {
            min-height: 48px;
            padding: 10px 14px;
            border: 1px solid #cfe0f4;
            border-radius: 12px;
            background: #f8fbff;
            color: #163655;
            font-size: 14px;
            font-weight: 900;
            cursor: pointer;
            text-align: left;
            transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
        }

        .ai-core-tab span {
            display: inline-flex;
            align-items: center;
            margin-left: 8px;
            padding: 3px 8px;
            border-radius: 999px;
            background: #eaf3ff;
            color: #1269ff;
            font-size: 12px;
        }

        .ai-core-tab.active {
            background: #082c52;
            border-color: #082c52;
            color: #ffffff;
            box-shadow: 0 10px 22px rgba(8, 44, 82, .18);
        }

        .ai-core-tab.active span {
            background: rgba(255, 255, 255, .16);
            color: #ffffff;
        }

        .ai-core-panel {
            padding: 22px;
        }

        .ai-core-panel-head {
            display: flex;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 18px;
            padding-bottom: 14px;
            border-bottom: 1px solid #dbe7f5;
        }

        .ai-core-panel-head h2 {
            margin: 0 0 6px;
            color: #062848;
            font-size: 21px;
            line-height: 1.25;
        }

        .ai-core-panel-head p {
            margin: 0;
            color: #53667e;
            font-size: 13px;
            font-weight: 700;
        }

        .ai-core-rank-guide {
            margin: -4px 0 16px;
            padding: 11px 14px;
            border: 1px solid #b9d4ff;
            border-radius: 10px;
            background: #f5f9ff;
            color: #17406d;
            font-size: 13px;
            line-height: 1.45;
            font-weight: 800;
            word-break: keep-all;
        }

        .ai-core-signal-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .ai-core-signal-column {
            display: grid;
            align-content: start;
            gap: 12px;
            min-width: 0;
        }

        .ai-core-signal-column h3 {
            margin: 0;
            color: #102f52;
            font-size: 15px;
            line-height: 1.3;
        }

        .ai-core-item-card {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            gap: 14px;
            padding: 16px;
            border: 1px solid #d5e5f5;
            border-radius: 12px;
            background: #ffffff;
        }

        .ai-core-item-card.positive {
            border-color: #9fddbb;
            background: linear-gradient(145deg, #f4fff8 0%, #ffffff 100%);
        }

        .ai-core-item-card.negative {
            border-color: #ffbfc3;
            background: linear-gradient(145deg, #fff7f7 0%, #ffffff 100%);
        }

        .ai-core-rank {
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #0a3158;
            color: #ffffff;
            font-size: 14px;
            font-weight: 900;
        }

        .ai-core-item-main {
            min-width: 0;
        }

        .ai-core-item-head {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: start;
        }

        .ai-core-item-head strong {
            display: block;
            color: #062848;
            font-size: 16px;
            line-height: 1.35;
            word-break: keep-all;
        }

        .ai-core-item-head span {
            display: block;
            margin-top: 4px;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.45;
        }

        .ai-core-item-head em {
            flex: 0 0 auto;
            padding: 5px 9px;
            border-radius: 999px;
            background: #eef6ff;
            color: #1768d5;
            font-size: 12px;
            font-style: normal;
            font-weight: 900;
            white-space: nowrap;
        }

        .ai-core-card-actions {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: wrap;
            gap: 8px;
        }

        .ai-core-card-actions .ai-quote-btn.compact {
            width: auto;
            min-width: 96px;
            min-height: 30px;
            margin: 0;
            padding: 6px 10px;
            border-radius: 999px;
            flex-direction: row;
            gap: 5px;
            font-size: 12px;
            line-height: 1;
            white-space: nowrap;
        }

        .ai-core-card-actions .ai-quote-btn.compact .quote-button-text,
        .ai-core-card-actions .ai-quote-btn.compact .quote-button-icon {
            display: inline;
            margin: 0;
            white-space: nowrap;
        }

        .ai-core-item-card.positive .ai-core-item-head em {
            background: #e4f8ed;
            color: #008d49;
        }

        .ai-core-item-card.negative .ai-core-item-head em {
            background: #ffe8e9;
            color: #ef2c37;
        }

        .ai-core-metrics {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 8px;
            margin: 14px 0;
        }

        .ai-core-metrics span {
            padding: 9px 10px;
            border-radius: 10px;
            background: rgba(237, 244, 252, 0.78);
            color: #5c6f85;
            font-size: 12px;
            font-weight: 800;
        }

        .ai-core-metrics b {
            display: block;
            margin-top: 4px;
            color: #062848;
            font-size: 14px;
        }

        .ai-core-metrics b.positive {
            color: #009454;
        }

        .ai-core-metrics b.negative {
            color: #ef2c37;
        }

        .ai-core-reasons {
            margin: 0;
            padding: 0;
            display: grid;
            gap: 7px;
            list-style: none;
        }

        .ai-core-reasons li {
            position: relative;
            padding-left: 16px;
            color: #1d3858;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.55;
            word-break: keep-all;
        }

        .ai-core-reasons li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.7em;
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: #2f7df3;
        }

        .ai-core-item-card.positive .ai-core-reasons li::before {
            background: #00a35b;
        }

        .ai-core-item-card.negative .ai-core-reasons li::before {
            background: #ef2c37;
        }

        .ai-core-brief-reason {
            margin: 14px 0 0;
            color: #1d3858;
            font-size: 13px;
            font-weight: 750;
            line-height: 1.62;
            word-break: keep-all;
        }

        .ai-core-detail-button {
            width: 100%;
            min-height: 38px;
            margin-top: 12px;
            border: 1px solid #bcd4f4;
            border-radius: 10px;
            background: #ffffff;
            color: #0866e8;
            font-size: 13px;
            font-weight: 900;
            cursor: pointer;
        }

        .ai-core-detail-button:hover {
            background: #eef6ff;
            border-color: #7fb0ff;
        }

        .ai-core-detail-modal {
            display: grid;
            gap: 18px;
            color: #071d3a;
        }

        .ai-core-detail-hero {
            display: grid;
            grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
            gap: 16px;
            padding: 18px;
            border: 1px solid #cfe0f4;
            border-radius: 16px;
            background: linear-gradient(135deg, #f8fbff, #fff);
        }

        .ai-core-detail-hero.positive {
            border-color: #a9e9ca;
            background: linear-gradient(135deg, #f3fff8, #fff);
        }

        .ai-core-detail-hero.negative {
            border-color: #ffc8bc;
            background: linear-gradient(135deg, #fff8f6, #fff);
        }

        .ai-core-detail-hero span {
            color: #60758d;
            font-size: 12px;
            font-weight: 900;
        }

        .ai-core-detail-hero h3 {
            margin: 7px 0;
            color: #052749;
            font-size: 23px;
            line-height: 1.3;
            word-break: keep-all;
        }

        .ai-core-detail-hero p {
            margin: 0;
            color: #53667e;
            font-size: 13px;
            font-weight: 800;
        }

        .ai-core-detail-metrics {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .ai-core-detail-metrics article,
        .ai-core-detail-card {
            border: 1px solid #dbe7f5;
            border-radius: 14px;
            background: rgba(255, 255, 255, .9);
            padding: 13px 14px;
        }

        .ai-core-detail-metrics span {
            display: block;
            color: #66788d;
            font-size: 12px;
            font-weight: 900;
        }

        .ai-core-detail-metrics strong {
            display: block;
            margin-top: 6px;
            color: #071d3a;
            font-size: 16px;
            line-height: 1.35;
            font-weight: 900;
            word-break: keep-all;
        }

        .ai-core-detail-positive { color: #009454 !important; }
        .ai-core-detail-negative { color: #ef2c37 !important; }

        .ai-core-detail-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .ai-core-detail-card h4 {
            margin: 0 0 8px;
            color: #0b2748;
            font-size: 13px;
            font-weight: 900;
        }

        .ai-core-detail-card p {
            margin: 0;
            color: #203348;
            font-size: 13px;
            line-height: 1.75;
            font-weight: 750;
            white-space: pre-wrap;
            word-break: keep-all;
        }

        .ai-core-detail-card-positive {
            border-color: #bce8cf;
            background: #f6fff9;
        }

        .ai-core-detail-card-negative,
        .ai-core-detail-card-risk {
            border-color: #ffc7c7;
            background: #fff8f8;
        }

        .ai-core-detail-card-blue {
            border-color: #c8dcff;
            background: #f7fbff;
        }

        @media (max-width: 1180px) {
            .ai-core-summary-card {
                grid-template-columns: 1fr;
            }

            .ai-core-analysis-section .ai-core-summary-head {
                grid-template-columns: 1fr;
            }

            .ai-core-data-scope-mount {
                width: 100%;
            }

            .ai-core-summary-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .ai-core-signal-grid {
                grid-template-columns: 1fr;
            }

            .ai-core-analysis-section .ai-core-date-control {
                justify-self: stretch;
                max-width: none;
            }
        }

        @media (max-width: 760px) {
            .ai-core-data-scope-mount {
                margin-top: 10px;
            }

            .ai-core-panel,
            .ai-core-summary-card {
                padding: 16px;
            }

            .ai-core-summary-grid,
            .ai-core-tabs,
            .ai-core-strategy-toggle,
            .ai-core-detail-hero,
            .ai-core-detail-grid {
                grid-template-columns: 1fr;
            }

            .ai-core-item-head,
            .ai-core-item-card {
                grid-template-columns: 1fr;
            }

            .ai-core-card-actions {
                justify-content: flex-start;
            }

            .ai-core-metrics {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        .gpt-recommendations-section > .page-header {
            align-items: start;
        }

        .gpt-recommendations-section .ai-core-hero-header {
            grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
            gap: 16px 24px;
        }

        .gpt-recommendations-section .ai-core-hero-copy {
            display: grid;
            gap: 7px;
            align-content: start;
            min-width: 0;
        }

        .gpt-recommendations-section .ai-core-hero-copy .dashboard-hero-subtitle {
            grid-column: auto;
            max-width: 760px;
            margin: 0;
        }

        .gpt-recommendations-section .gpt-recommendations-date-control {
            justify-self: end;
            width: min(100%, 460px);
            max-width: 460px;
        }

        .gpt-recommendations-content {
            display: grid;
            gap: 18px;
        }

        .gpt-recommendation-summary-card,
        .gpt-recommendation-panel {
            border: 1px solid #d8e4f1;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.97);
            box-shadow: 0 12px 28px rgba(20, 45, 76, 0.06);
        }

        .gpt-recommendation-summary-card {
            display: grid;
            grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
            gap: 18px;
            align-items: stretch;
            padding: 20px 22px;
        }

        .gpt-recommendation-summary-card span {
            display: block;
            margin-bottom: 6px;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
        }

        .gpt-recommendation-summary-card strong {
            color: #052749;
            font-size: 18px;
            line-height: 1.35;
        }

        .gpt-recommendation-summary-card p {
            grid-column: 1 / -1;
            margin: 0;
            color: #17314f;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.65;
        }

        .gpt-recommendation-summary-card .ai-core-summary-head p {
            grid-column: auto;
            font-size: 13px;
        }

        .gpt-recommendation-summary-card .ai-core-summary-tile span {
            margin-bottom: 0;
        }

        .gpt-recommendation-summary-card .ai-core-summary-tile strong {
            display: block;
            margin-top: 7px;
            font-size: 17px;
        }

        .gpt-recommendation-summary-card .ai-core-summary-tile p {
            grid-column: auto;
            margin: 7px 0 0;
            color: #6b7f96;
            font-size: 11px;
            line-height: 1.35;
            font-weight: 800;
        }

        .gpt-recommendation-panel {
            padding: 22px;
        }

        .gpt-recommendation-panel-head {
            display: flex;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 18px;
            padding-bottom: 14px;
            border-bottom: 1px solid #dbe7f5;
        }

        .gpt-recommendation-panel-head h2 {
            margin: 0 0 6px;
            color: #062848;
            font-size: 21px;
            line-height: 1.25;
        }

        .gpt-recommendation-panel-head p {
            margin: 0;
            color: #53667e;
            font-size: 13px;
            font-weight: 700;
        }

        .gpt-recommendation-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .gpt-recommendation-grid.summary {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .gpt-recommendation-card {
            display: grid;
            gap: 14px;
            padding: 16px;
            border: 1px solid #d5e5f5;
            border-radius: 12px;
            background: #ffffff;
        }

        .gpt-recommendation-card.etf {
            border-color: #9fddbb;
            background: linear-gradient(145deg, #f4fff8 0%, #ffffff 100%);
        }

        .gpt-recommendation-card.stock {
            border-color: #bfd9ff;
            background: linear-gradient(145deg, #f5f9ff 0%, #ffffff 100%);
        }

        .gpt-recommendation-card.summary {
            border-color: #f3d9ae;
            background: linear-gradient(145deg, #fffaf1 0%, #ffffff 100%);
        }

        .gpt-recommendation-card-head {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            gap: 12px;
            align-items: start;
        }

        .gpt-recommendation-rank {
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #0a3158;
            color: #ffffff;
            font-size: 14px;
            font-weight: 900;
        }

        .gpt-recommendation-main strong {
            display: block;
            color: #062848;
            font-size: 16px;
            line-height: 1.35;
            word-break: keep-all;
        }

        .gpt-recommendation-main span {
            display: block;
            margin-top: 4px;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.45;
        }

        .gpt-recommendation-card-head em {
            flex: 0 0 auto;
            padding: 5px 9px;
            border-radius: 999px;
            background: #eef6ff;
            color: #1768d5;
            font-size: 12px;
            font-style: normal;
            font-weight: 900;
            white-space: nowrap;
        }

        .gpt-recommendation-points {
            margin: 0;
            padding: 0;
            list-style: none;
            display: grid;
            gap: 8px;
        }

        .gpt-recommendation-points li {
            display: grid;
            gap: 4px;
            padding: 10px 12px;
            border-radius: 10px;
            background: rgba(237, 244, 252, 0.78);
        }

        .gpt-recommendation-points strong {
            color: #163654;
            font-size: 12px;
            font-weight: 900;
        }

        .gpt-recommendation-points span {
            color: #1d3858;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.55;
            word-break: keep-all;
        }

        .gpt-source-section {
            display: grid;
            gap: 16px;
            padding: 22px;
            border: 1px solid #d8e4f1;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.97);
            box-shadow: 0 12px 28px rgba(20, 45, 76, 0.06);
        }

        .gpt-source-head h2 {
            margin: 0 0 6px;
            color: #062848;
            font-size: 22px;
            line-height: 1.3;
        }

        .gpt-source-head p {
            margin: 0;
            color: #53667e;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.6;
        }

        .gpt-source-filters {
            display: grid;
            gap: 12px;
            padding: 14px 16px;
            border: 1px solid #dce8f4;
            border-radius: 14px;
            background: linear-gradient(180deg, #f9fbff 0%, #f4f8fd 100%);
        }

        .gpt-source-filter-group {
            display: grid;
            gap: 8px;
        }

        .gpt-source-filter-group > span {
            color: #64748b;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.02em;
        }

        .gpt-source-filter-chips,
        .gpt-source-summary-chips {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .gpt-source-filter-chip,
        .gpt-source-summary-chip {
            border: 1px solid #cadef4;
            border-radius: 999px;
            background: #ffffff;
            color: #31506e;
            font-size: 12px;
            font-weight: 800;
            line-height: 1;
            cursor: pointer;
            transition: all 0.18s ease;
        }

        .gpt-source-filter-chip {
            padding: 9px 12px;
        }

        .gpt-source-summary-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
        }

        .gpt-source-filter-chip:hover,
        .gpt-source-summary-chip:hover {
            border-color: #98bbe7;
            color: #103963;
            background: #f5f9ff;
        }

        .gpt-source-filter-chip.active {
            border-color: #0c4f9c;
            background: #0f4f99;
            color: #ffffff;
            box-shadow: 0 10px 20px rgba(15, 79, 153, 0.18);
        }

        .gpt-source-filter-chip.tone-buy {
            border-color: #b7e2c9;
            background: #f6fff9;
            color: #166b45;
        }

        .gpt-source-filter-chip.tone-sell {
            border-color: #f2c5c5;
            background: #fff8f8;
            color: #be3333;
        }

        .gpt-source-filter-chip.tone-summary {
            border-color: #ccdbf3;
            background: #f6faff;
            color: #295d9c;
        }

        .gpt-source-filter-chip.tone-buy.active {
            background: #1b8655;
            border-color: #1b8655;
            color: #ffffff;
            box-shadow: 0 10px 18px rgba(27, 134, 85, 0.2);
        }

        .gpt-source-filter-chip.tone-sell.active {
            background: #d34b4b;
            border-color: #d34b4b;
            color: #ffffff;
            box-shadow: 0 10px 18px rgba(211, 75, 75, 0.2);
        }

        .gpt-source-filter-chip.tone-summary.active {
            background: #2b66ab;
            border-color: #2b66ab;
            color: #ffffff;
            box-shadow: 0 10px 18px rgba(43, 102, 171, 0.2);
        }

        .gpt-source-summary-chip span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 42px;
            padding: 4px 8px;
            border-radius: 999px;
            background: #eaf2ff;
            color: #1357aa;
            font-size: 11px;
            font-weight: 900;
        }

        .gpt-source-groups {
            display: grid;
            gap: 14px;
        }

        .gpt-source-group {
            border: 1px solid #d9e6f3;
            border-radius: 14px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.98) 100%);
            overflow: hidden;
        }

        .gpt-source-group.summary-only {
            border-color: #c9dcf6;
            background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
        }

        .gpt-source-group-head {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 16px 18px;
            border: none;
            background: transparent;
            cursor: pointer;
            text-align: left;
        }

        .gpt-source-group.summary-only .gpt-source-group-head {
            background: linear-gradient(180deg, rgba(230, 240, 255, 0.68) 0%, rgba(255, 255, 255, 0) 100%);
        }

        .gpt-source-group-tone {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 24px;
            padding: 0 9px;
            border-radius: 999px;
            background: #eaf2ff;
            color: #235ea0;
            font-size: 11px;
            font-style: normal;
            font-weight: 900;
            letter-spacing: 0.01em;
            margin-bottom: 8px;
        }

        .gpt-source-group-head strong {
            display: block;
            color: #072b4b;
            font-size: 17px;
            line-height: 1.35;
        }

        .gpt-source-group-head span {
            display: inline-flex;
            margin-top: 4px;
            color: #5d7289;
            font-size: 12px;
            font-weight: 800;
        }

        .gpt-source-group-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 10px;
        }

        .gpt-source-group-stat {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 28px;
            padding: 0 10px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0.01em;
            border: 1px solid #d7e5f5;
            background: #f8fbff;
            color: #24415f;
        }

        .gpt-source-group-stat.buy {
            border-color: #9bd8ba;
            background: #f3fff7;
            color: #137a4c;
        }

        .gpt-source-group-stat.sell {
            border-color: #f0b7b7;
            background: #fff7f7;
            color: #c03939;
        }

        .gpt-source-group-stat.summary {
            border-color: #cbdaf1;
            background: #f5f9ff;
            color: #295d9c;
        }

        .gpt-source-group-head i {
            flex: 0 0 auto;
            color: #1e5c9e;
            font-size: 12px;
            font-style: normal;
            font-weight: 900;
        }

        .gpt-source-group-body {
            padding: 0 18px 18px;
        }

        .gpt-source-group-body.is-collapsed {
            display: none;
        }

        .gpt-source-group-grid {
            display: grid;
            gap: 14px;
        }

        .gpt-source-group.summary-only .gpt-source-group-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .gpt-source-item-card {
            display: grid;
            gap: 12px;
            padding: 16px;
            border: 1px solid #d6e3f1;
            border-radius: 14px;
            background: #ffffff;
            box-shadow: 0 8px 18px rgba(24, 53, 87, 0.05);
        }

        .gpt-source-item-card.buy {
            border-color: #9bd8ba;
            background: linear-gradient(145deg, #f7fff9 0%, #ffffff 100%);
        }

        .gpt-source-item-card.sell {
            border-color: #f0b7b7;
            background: linear-gradient(145deg, #fff8f8 0%, #ffffff 100%);
        }

        .gpt-source-item-card.summary {
            border-color: #d2dcf4;
            background: linear-gradient(145deg, #f5f9ff 0%, #ffffff 100%);
        }

        .gpt-source-item-head {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            gap: 12px;
            align-items: start;
        }

        .gpt-source-rank {
            width: 34px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #0b3159;
            color: #ffffff;
            font-size: 14px;
            font-weight: 900;
        }

        .gpt-source-item-title {
            min-width: 0;
        }

        .gpt-source-item-title strong {
            display: block;
            color: #062848;
            font-size: 17px;
            line-height: 1.35;
            word-break: keep-all;
        }

        .gpt-source-item-title span {
            display: block;
            margin-top: 4px;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.45;
            word-break: break-word;
        }

        .gpt-source-item-badges {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .gpt-source-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 11px;
            font-style: normal;
            font-weight: 900;
            white-space: nowrap;
        }

        .gpt-source-badge.buy {
            background: #e8fff0;
            color: #097344;
        }

        .gpt-source-badge.sell {
            background: #fff0f0;
            color: #d23b3b;
        }

        .gpt-source-badge.summary {
            background: #eaf1ff;
            color: #1e5c9e;
        }

        .gpt-source-badge.ok {
            background: #edf7ef;
            color: #2b6f47;
        }

        .gpt-source-badge.partial {
            background: #fff8e5;
            color: #9a6800;
        }

        .gpt-source-badge.missing {
            background: #f4f5f7;
            color: #667085;
        }

        .gpt-source-meta-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 10px;
        }

        .gpt-source-meta-grid article {
            display: grid;
            gap: 4px;
            padding: 10px 12px;
            border-radius: 12px;
            background: rgba(237, 244, 252, 0.86);
        }

        .gpt-source-meta-grid span {
            color: #688099;
            font-size: 11px;
            font-weight: 900;
        }

        .gpt-source-meta-grid strong {
            color: #163654;
            font-size: 13px;
            font-weight: 800;
            line-height: 1.55;
            word-break: break-word;
        }

        .gpt-source-item-sections {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .gpt-source-summary-layout {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }

        .gpt-source-item-card.summary .gpt-source-summary-layout .gpt-source-item-block {
            background: rgba(246, 250, 255, 0.96);
        }

        .gpt-source-item-block {
            display: grid;
            gap: 6px;
            padding: 12px 14px;
            border: 1px solid #dfebf6;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.88);
        }

        .gpt-source-item-block h4 {
            margin: 0;
            color: #0c3054;
            font-size: 13px;
            font-weight: 900;
        }

        .gpt-source-item-block p {
            margin: 0;
            color: #1a3556;
            font-size: 12px;
            font-weight: 700;
            line-height: 1.6;
            word-break: break-word;
        }

        .gpt-source-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            align-items: center;
        }

        .gpt-source-actions .ai-core-detail-button {
            min-width: 160px;
        }

        @media (max-width: 1180px) {
            .gpt-recommendation-summary-card,
            .gpt-recommendation-grid,
            .gpt-recommendation-grid.summary {
                grid-template-columns: 1fr;
            }

            .gpt-recommendations-section .gpt-recommendations-date-control {
                justify-self: stretch;
                max-width: none;
            }

            .gpt-source-item-sections,
            .gpt-source-summary-layout,
            .gpt-source-meta-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .gpt-source-group.summary-only .gpt-source-group-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 760px) {
            .gpt-recommendation-panel,
            .gpt-recommendation-summary-card {
                padding: 16px;
            }

            .gpt-recommendation-card-head {
                grid-template-columns: 1fr;
            }

            .gpt-source-section {
                padding: 16px;
            }

            .gpt-source-group-head,
            .gpt-source-group-body {
                padding-left: 14px;
                padding-right: 14px;
            }

            .gpt-source-group-body {
                padding-bottom: 14px;
            }

            .gpt-source-item-head,
            .gpt-source-item-sections,
            .gpt-source-summary-layout,
            .gpt-source-meta-grid {
                grid-template-columns: 1fr;
            }

            .gpt-source-item-badges {
                justify-content: flex-start;
            }
        }

        .page-header {
            margin-bottom: 32px;
            padding-bottom: 20px;
            border-bottom: 2px solid var(--neutral-mid);
        }

        .page-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .page-description {
            font-size: 14px;
            color: var(--text-light);
        }

        /* ========== TAB 네비게이션 ========== */
        .tab-navigation {
            display: flex;
            gap: 0;
            margin-bottom: 32px;
            background: white;
            border-radius: 12px;
            padding: 0;
            box-shadow: var(--shadow-md);
            overflow: hidden;
        }

        .tab-btn {
            flex: 1;
            padding: 16px 20px;
            background: white;
            border: none;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-light);
            transition: all 0.3s ease;
            text-align: center;
            border-bottom: 3px solid transparent;
        }

        .tab-btn:hover {
            background: var(--bg-light);
            color: var(--text-dark);
        }

        .tab-btn.active {
            color: var(--accent-gold);
            border-bottom-color: var(--accent-gold);
            background: white;
        }

        /* ========== TAB 콘텐츠 ========== */
        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ========== CARD ========== */
        .card {
            background: white;
            border-radius: 12px;
            padding: 28px;
            margin-bottom: 32px;
            box-shadow: var(--shadow-lg);
            border-top: 4px solid var(--accent-gold);
        }

        .card-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 20px;
            padding-bottom: 16px;
            border-bottom: 2px solid var(--neutral-mid);
        }

        /* ========== 메트릭 그리드 ========== */
        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 24px;
        }

        .metric-card {
            padding: 20px;
            background: var(--bg-light);
            border-radius: 8px;
            border-left: 4px solid;
            text-align: center;
        }

        .metric-card.sector {
            border-left-color: var(--accent-gold);
        }

        .metric-card.momentum {
            border-left-color: var(--accent-green);
        }

        .metric-card.risk {
            border-left-color: var(--accent-red);
        }

        .metric-card.trend {
            border-left-color: var(--accent-blue);
        }

        .metric-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .metric-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .metric-card.sector .metric-value {
            color: var(--accent-gold);
        }

        .metric-card.momentum .metric-value {
            color: var(--accent-green);
        }

        .metric-card.risk .metric-value {
            color: var(--accent-red);
        }

        .metric-card.trend .metric-value {
            color: var(--accent-blue);
        }

        .metric-desc {
            font-size: 12px;
            color: var(--text-light);
        }

        /* ========== 섹터 분석 그리드 ========== */
        .sector-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 24px;
        }

        .sector-card {
            padding: 20px;
            background: white;
            border-radius: 8px;
            border-top: 4px solid;
            box-shadow: var(--shadow-md);
            text-align: center;
        }

        .sector-card.strong {
            border-top-color: var(--accent-green);
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.05) 0%, var(--bg-light) 100%);
        }

        .sector-card.neutral {
            border-top-color: var(--accent-blue);
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.05) 0%, var(--bg-light) 100%);
        }

        .sector-card.weak {
            border-top-color: var(--accent-red);
            background: linear-gradient(135deg, rgba(244, 165, 165, 0.05) 0%, var(--bg-light) 100%);
        }

        .sector-name {
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--text-dark);
        }

        .sector-direction {
            font-size: 28px;
            margin-bottom: 8px;
        }

        .sector-label {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-light);
        }

        /* ========== 차트 플레이스홀더 ========== */
        .chart-placeholder {
            width: 100%;
            height: 300px;
            background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-secondary) 100%);
            border: 2px dashed var(--neutral-mid);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-light);
            font-size: 14px;
            margin: 20px 0;
        }

        /* ========== 테이블 ========== */
        .analysis-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .analysis-table thead {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .analysis-table th {
            padding: 14px 16px;
            text-align: left;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
        }

        .analysis-table tbody tr {
            border-bottom: 1px solid var(--neutral-mid);
            transition: background 0.2s ease;
        }

        .analysis-table tbody tr:hover {
            background: var(--bg-light);
        }

        .analysis-table td {
            padding: 14px 16px;
            font-size: 13px;
            color: var(--text-dark);
        }

        .value-positive {
            color: var(--accent-green);
            font-weight: 600;
        }

        .value-negative {
            color: var(--accent-red);
            font-weight: 600;
        }

        .value-neutral {
            color: var(--accent-blue);
            font-weight: 600;
        }

        /* ========== 신호 배지 ========== */
        .signal-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid;
        }

        .badge-strong-buy {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2) 0%, rgba(168, 213, 186, 0.1) 100%);
            color: var(--accent-green);
            border-color: rgba(168, 213, 186, 0.3);
        }

        .badge-buy {
            background: linear-gradient(135deg, rgba(212, 165, 212, 0.2) 0%, rgba(212, 165, 212, 0.1) 100%);
            color: var(--accent-purple);
            border-color: rgba(212, 165, 212, 0.3);
        }

        .badge-hold {
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.2) 0%, rgba(166, 197, 216, 0.1) 100%);
            color: var(--accent-blue);
            border-color: rgba(166, 197, 216, 0.3);
        }

        /* ========== 인사이트 박스 ========== */
        .insight-box {
            padding: 20px;
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.08) 0%, rgba(212, 175, 150, 0.02) 100%);
            border-left: 4px solid var(--accent-gold);
            border-radius: 8px;
            margin: 20px 0;
        }

        .insight-title {
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .insight-content {
            font-size: 13px;
            color: var(--text-dark);
            line-height: 1.7;
        }

        /* ========== 리스트 ========== */
        .analysis-list {
            list-style: none;
            padding: 0;
        }

        .analysis-list li {
            padding: 12px 0;
            border-bottom: 1px solid var(--neutral-mid);
            font-size: 13px;
            color: var(--text-dark);
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .analysis-list li:last-child {
            border-bottom: none;
        }

        .analysis-list li:before {
            content: "▸";
            font-weight: bold;
            flex-shrink: 0;
            color: var(--accent-gold);
        }

        /* ========== 업종 분석 확장 UI ========== */
        .main-container {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .tabs-container {
            display: flex;
            gap: 12px;
            padding: 16px;
            background: white;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
        }

        .tab-button {
            padding: 14px 20px;
            border: 1px solid var(--neutral-mid);
            border-radius: 12px;
            background: var(--bg-light);
            color: var(--text-light);
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .tab-button.active,
        .tab-button:hover {
            background: linear-gradient(135deg, var(--bg-accent-blue) 0%, var(--bg-accent-green) 100%);
            color: var(--text-dark);
            border-color: rgba(212, 175, 150, 0.6);
        }

        .industry-analysis {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .signal-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            padding: 20px;
            background: white;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
        }

        .filter-btn {
            padding: 10px 16px;
            border: 1px solid var(--neutral-mid);
            border-radius: 999px;
            background: var(--bg-light);
            color: var(--text-dark);
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.18) 0%, rgba(168, 213, 186, 0.2) 100%);
            border-color: rgba(212, 175, 150, 0.7);
        }

        .signal-category {
            background: white;
            border-radius: 18px;
            padding: 24px;
            box-shadow: var(--shadow-lg);
        }

        .strong-buy-section {
            border-top: 4px solid var(--accent-green);
        }

        .buy-section {
            border-top: 4px solid var(--accent-gold);
        }

        .neutral-section {
            border-top: 4px solid var(--accent-blue);
        }

        .sell-section {
            border-top: 4px solid var(--accent-red);
        }

        .signal-category-title {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 18px;
            font-size: 20px;
            font-weight: 800;
        }

        .signal-category-title.strong-buy {
            color: #1f7a45;
        }

        .signal-category-title.buy {
            color: #8a5b2d;
        }

        .signal-category-title.neutral {
            color: #426b82;
        }

        .signal-category-title.sell {
            color: #b15555;
        }

        .rank-badge {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--primary);
            color: white;
            font-size: 14px;
            font-weight: 800;
        }

        .industry-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 18px;
        }

        .industry-card {
            padding: 20px;
            border-radius: 16px;
            border: 1px solid var(--neutral-mid);
            background: linear-gradient(180deg, rgba(252, 249, 246, 0.98) 0%, rgba(243, 235, 224, 0.95) 100%);
            box-shadow: var(--shadow-md);
            transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
            opacity: 1;
        }

        .industry-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .industry-card.strong-buy {
            border-top: 4px solid var(--accent-green);
        }

        .industry-card.buy {
            border-top: 4px solid var(--accent-gold);
        }

        .industry-card.neutral {
            border-top: 4px solid var(--accent-blue);
        }

        .industry-card.sell {
            border-top: 4px solid var(--accent-red);
        }

        .industry-rank {
            font-size: 12px;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .industry-name {
            font-size: 20px;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .industry-code {
            font-size: 12px;
            color: var(--text-light);
            margin-bottom: 18px;
        }

        .industry-stats {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin-bottom: 14px;
        }

        .stat-item {
            padding: 12px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(224, 230, 237, 0.9);
        }

        .stat-label {
            font-size: 11px;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 6px;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        .stat-value {
            font-size: 18px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .positive {
            color: #1f7a45;
        }

        .negative {
            color: #b15555;
        }

        .industry-signal {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 800;
            border: 1px solid transparent;
        }

        .industry-signal.strong-buy {
            background: rgba(168, 213, 186, 0.18);
            color: #1f7a45;
            border-color: rgba(168, 213, 186, 0.5);
        }

        .industry-signal.buy {
            background: rgba(212, 175, 150, 0.18);
            color: #8a5b2d;
            border-color: rgba(212, 175, 150, 0.5);
        }

        .industry-signal.neutral {
            background: rgba(166, 197, 216, 0.18);
            color: #426b82;
            border-color: rgba(166, 197, 216, 0.5);
        }

        .industry-signal.sell {
            background: rgba(244, 165, 165, 0.18);
            color: #b15555;
            border-color: rgba(244, 165, 165, 0.5);
        }

        .detail-button {
            width: 100%;
            padding: 10px 14px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 700;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .detail-button:hover {
            transform: translateY(-1px);
            box-shadow: var(--shadow-sm);
        }

        .modal {
            display: none;
            position: fixed;
            inset: 0;
            padding: 24px;
            background: rgba(44, 62, 80, 0.45);
            z-index: 120;
            overflow-y: auto;
        }

        .modal.active {
            display: block;
        }

        .modal-content {
            max-width: 820px;
            margin: 40px auto;
            padding: 28px;
            background: white;
            border-radius: 18px;
            box-shadow: var(--shadow-lg);
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 14px;
            right: 16px;
            border: none;
            background: transparent;
            color: var(--text-light);
            font-size: 30px;
            line-height: 1;
            cursor: pointer;
        }

        .modal-header {
            margin-bottom: 20px;
            padding-right: 28px;
            font-size: 24px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .gpt-insight-panel-shell {
            position: fixed;
            inset: 0;
            display: none;
            z-index: 121;
        }

        .gpt-insight-panel-shell.active {
            display: block;
        }

        .gpt-insight-panel-backdrop {
            position: absolute;
            inset: 0;
            border: none;
            background: rgba(20, 33, 61, 0.26);
            cursor: pointer;
        }

        .gpt-insight-panel {
            position: absolute;
            top: 0;
            right: 0;
            width: min(560px, 92vw);
            height: 100%;
            padding: 26px 22px 24px;
            background: #ffffff;
            box-shadow: -24px 0 56px rgba(15, 23, 42, 0.16);
            border-left: 1px solid rgba(191, 219, 254, 0.72);
            transform: translateX(100%);
            transition: transform 0.24s ease;
            overflow-y: auto;
        }

        .gpt-insight-panel-shell.active .gpt-insight-panel {
            transform: translateX(0);
        }

        .gpt-insight-panel-head {
            position: relative;
            margin-bottom: 18px;
            padding-right: 40px;
        }

        .gpt-insight-panel-kicker {
            margin-bottom: 8px;
            font-size: 11px;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .gpt-insight-panel-title {
            font-size: 24px;
            font-weight: 800;
            line-height: 1.35;
            color: var(--text-dark);
        }

        .gpt-insight-panel-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        .gpt-insight-panel-meta-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 10px;
            border-radius: 999px;
            border: 1px solid rgba(191, 219, 254, 0.9);
            background: #f8fbff;
            font-size: 12px;
            font-weight: 700;
            color: var(--text-light);
        }

        .gpt-insight-panel-meta-chip strong {
            color: var(--text-dark);
        }

        .gpt-insight-panel-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 14px;
        }

        .gpt-insight-panel-actions .ai-quote-btn {
            width: auto;
            min-width: 0;
            padding-inline: 14px;
        }

        .gpt-insight-panel-body {
            display: grid;
            gap: 16px;
        }

        .gpt-insight-panel-close {
            position: absolute;
            top: -2px;
            right: 0;
            border: none;
            background: transparent;
            color: var(--text-light);
            font-size: 30px;
            line-height: 1;
            cursor: pointer;
        }

        .gpt-insight-panel-body .ai-core-detail-modal {
            margin: 0;
            box-shadow: none;
            border: none;
            background: transparent;
        }

        .gpt-insight-panel-body .ai-core-detail-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .gpt-insight-panel-body .gpt-insight-panel-primary-grid {
            grid-template-columns: 1fr;
            gap: 14px;
        }

        .gpt-insight-panel-body .gpt-insight-panel-primary-card {
            background: #f8fbff;
            border-width: 1px;
            box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
        }

        .gpt-insight-panel-more {
            border: 1px solid rgba(191, 219, 254, 0.76);
            border-radius: 14px;
            background: #ffffff;
            padding: 6px 12px 12px;
        }

        .gpt-insight-panel-more summary {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            list-style: none;
            cursor: pointer;
            padding: 10px 4px;
            color: #163c6b;
            font-size: 14px;
            font-weight: 800;
        }

        .gpt-insight-panel-more summary::-webkit-details-marker {
            display: none;
        }

        .gpt-insight-panel-more summary small {
            color: var(--text-light);
            font-size: 12px;
            font-weight: 700;
        }

        .gpt-insight-panel-more-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            padding-top: 8px;
        }

        .gpt-insight-panel-body .ai-core-detail-hero {
            padding: 20px 18px;
            margin-bottom: 14px;
        }

        .gpt-insight-panel-body .ai-core-detail-hero h3 {
            font-size: 24px;
        }

        .gpt-insight-panel-body .ai-core-detail-summary,
        .gpt-insight-panel-body .ai-core-detail-block {
            background: #f8fbff;
        }

        .policy-document {
            display: grid;
            gap: 16px;
            color: var(--text-dark);
        }

        .policy-static-page {
            min-height: 100vh;
            padding: 56px 20px;
            background: var(--bg-light);
        }

        .policy-static-page .policy-document {
            width: min(860px, 100%);
            margin: 0 auto;
            padding: 36px;
            border: 1px solid var(--neutral-mid);
            border-radius: 12px;
            background: var(--white);
            box-shadow: var(--shadow-sm);
            line-height: 1.75;
        }

        .policy-static-page h1 {
            margin: 0;
            font-size: 28px;
            line-height: 1.25;
            letter-spacing: 0;
        }

        .policy-static-page h2 {
            margin: 8px 0 0;
            font-size: 18px;
            line-height: 1.35;
            letter-spacing: 0;
        }

        .policy-static-page p {
            margin: 0;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .policy-static-page a {
            color: var(--primary-blue);
            font-weight: 800;
            text-decoration: none;
        }

        .policy-static-page a:hover {
            text-decoration: underline;
        }

        .policy-contact-form {
            box-sizing: border-box;
            display: grid;
            gap: 18px;
            margin-top: 4px;
            padding: 22px;
            max-width: 100%;
            border: 1px solid var(--neutral-mid);
            border-radius: 12px;
            background: #f8fbff;
            overflow: hidden;
        }

        .policy-contact-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .policy-contact-field {
            min-width: 0;
            display: grid;
            gap: 8px;
            color: var(--text-dark);
            font-size: 13px;
            font-weight: 800;
        }

        .policy-contact-field.is-full {
            grid-column: 1 / -1;
        }

        .policy-contact-form input,
        .policy-contact-form select,
        .policy-contact-form textarea {
            width: 100%;
            min-width: 0;
            min-height: 44px;
            border: 1px solid var(--neutral-mid);
            border-radius: 10px;
            padding: 11px 12px;
            background: var(--white);
            color: var(--text-dark);
            font: inherit;
            font-size: 14px;
            box-sizing: border-box;
        }

        .policy-contact-form textarea {
            resize: vertical;
            min-height: 160px;
        }

        .policy-contact-consent {
            display: grid;
            grid-template-columns: auto 1fr;
            align-items: start;
            gap: 10px;
            font-weight: 700;
            color: var(--text-light);
        }

        .policy-contact-consent input {
            width: 18px;
            min-height: 18px;
            height: 18px;
            margin-top: 4px;
            padding: 0;
        }

        .policy-contact-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
        }

        .policy-contact-form button {
            border: none;
            border-radius: 10px;
            padding: 12px 16px;
            background: var(--primary-dark);
            color: var(--white);
            font-weight: 900;
            cursor: pointer;
        }

        .policy-contact-form button:disabled {
            opacity: 0.6;
            cursor: wait;
        }

        .policy-contact-status {
            min-height: 24px;
            color: var(--primary-dark);
            font-weight: 800;
        }

        @media (max-width: 640px) {
            .policy-static-page {
                max-width: 100%;
                padding: 24px 10px;
                overflow-x: hidden;
            }

            .policy-static-page .policy-document {
                max-width: 100%;
                padding: 22px 16px;
                overflow-x: hidden;
            }

            .policy-static-page h1 {
                font-size: 24px;
            }

            .policy-contact-form {
                padding: 14px;
            }

            .policy-contact-grid {
                grid-template-columns: 1fr;
            }

            .policy-contact-actions {
                align-items: stretch;
                flex-direction: column;
            }

            .policy-contact-form button {
                width: 100%;
            }
        }

        .policy-document-meta {
            padding: 10px 12px;
            border: 1px solid var(--neutral-mid);
            border-radius: 8px;
            background: var(--neutral-light);
            color: var(--text-light);
            font-size: 13px;
            font-weight: 700;
        }

        .policy-document-body {
            display: grid;
            gap: 12px;
            max-height: min(62vh, 620px);
            overflow-y: auto;
            padding-right: 6px;
            line-height: 1.75;
            font-size: 14px;
            white-space: normal;
        }

        .policy-document-body p {
            margin: 0;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .industry-table {
            width: 100%;
            border-collapse: collapse;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: var(--shadow-sm);
        }

        .industry-table th,
        .industry-table td {
            padding: 12px 14px;
            border-bottom: 1px solid var(--neutral-mid);
            font-size: 13px;
            text-align: left;
        }

        .industry-table thead {
            background: var(--bg-light);
        }

        /* ========== ETF 트렌드 분석 ========== */
        .etf-signal-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 24px;
            padding: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow-md);
        }

        .etf-filter-btn {
            padding: 12px 20px;
            border: 2px solid var(--neutral-mid);
            border-radius: 8px;
            background: var(--bg-light);
            color: var(--text-dark);
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .etf-filter-btn.active,
        .etf-filter-btn:hover {
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.2) 0%, rgba(168, 213, 186, 0.2) 100%);
            border-color: var(--accent-gold);
        }

        .etf-buttons-container {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 12px;
            margin-bottom: 32px;
            padding: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow-md);
        }

        .etf-item-btn {
            padding: 14px 12px;
            border: 2px solid var(--neutral-mid);
            border-radius: 10px;
            background: var(--bg-light);
            color: var(--text-dark);
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .etf-item-btn:hover,
        .etf-item-btn.active {
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
            border-color: var(--accent-gold);
            background: linear-gradient(135deg, rgba(252, 249, 246, 1) 0%, rgba(232, 244, 240, 1) 100%);
        }

        .etf-btn-name {
            font-size: 13px;
            font-weight: 800;
        }

        .etf-btn-code {
            font-size: 11px;
            color: var(--text-light);
        }

        .etf-detail-card {
            background: white;
            border-radius: 12px;
            padding: 28px;
            margin-bottom: 20px;
            box-shadow: var(--shadow-lg);
            border-top: 4px solid var(--accent-gold);
        }

        .page-section {
            display: none;
            width: 100%;
            max-width: 100%;
            margin: 0;
            min-width: 0;
        }

        .page-section.active {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            width: 100%;
            max-width: 100%;
            min-width: 0;
        }

        .page-section > * {
            width: 100%;
            max-width: none;
            min-width: 0;
            align-self: stretch;
        }

        .page-section .page-header,
        .page-section .page-description,
        .page-section .tab-content.active,
        .page-section .stock-tab-content.active,
        .page-section .main-container,
        .page-section .industry-analysis,
        .dashboard-section .ai-summary-section,
        .dashboard-section .card,
        .tab-navigation,
        .stock-tab-navigation,
        .stock-flat-panel,
        .decision-section .filter-bar,
        .decision-section .comparison-table-wrapper,
        .decision-section .detail-panel,
        .utility-hero,
        .utility-stat-grid,
        .utility-tab-wrap,
        .portfolio-layout,
        .help-layout,
        .mobile-showcase {
            width: 100%;
            max-width: none;
            min-width: 0;
            align-self: stretch;
        }

        #etfSection.active {
            display: block;
            width: 100%;
            max-width: none;
            min-width: 0;
        }

        #etfSection > .page-header,
        #etfSection > .tab-navigation,
        #etfSection > .tab-content,
        #etfSection > .tab-content.active,
        #etfSection .main-container,
        #etfSection #industry-analysis,
        #etfSection .industry-analysis,
        #etfSection .signal-filters,
        #etfSection .signal-category,
        #etfSection .industry-grid,
        #etfSection .etf-signal-filters,
        #etfSection .etf-buttons-container,
        #etfSection #etfDetailContent,
        #etfSection .etf-detail-card,
        #etfSection .card {
            width: 100%;
            max-width: none;
            min-width: 0;
            margin-left: 0;
            margin-right: 0;
        }

        #etfSection .industry-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        #stockSection.active,
        #decisionSection.active,
        #alertsSection.active {
            display: block;
            width: 100%;
            max-width: none;
            min-width: 0;
        }

        #stockSection > .page-header,
        #stockSection > .stock-tab-navigation,
        #stockSection > .stock-tab-content,
        #stockSection > .stock-tab-content.active,
        #stockSection .stock-flat-panel,
        #stockSection .strategy-summary-grid,
        #stockSection .card,
        #stockSection .analysis-table,
        #decisionSection > .page-header,
        #decisionSection > .filter-bar,
        #decisionSection > .comparison-table-wrapper,
        #decisionSection > .detail-panel,
        #decisionSection .comparison-table,
        #decisionSection .detail-grid,
        #alertsSection > .page-header,
        #alertsSection .utility-hero,
        #alertsSection .utility-hero-card,
        #alertsSection .utility-side-card,
        #alertsSection .portfolio-layout,
        #alertsSection .utility-surface,
        #alertsSection .rules-panel {
            width: 100%;
            max-width: none;
            min-width: 0;
            margin-left: 0;
            margin-right: 0;
        }

        .stock-tab-navigation {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 24px;
            padding: 16px;
            background: white;
            border-radius: 14px;
            box-shadow: var(--shadow-md);
        }

        .stock-tab-btn {
            padding: 14px 18px;
            border: 1px solid var(--neutral-mid);
            border-radius: 10px;
            background: var(--bg-light);
            color: var(--text-dark);
            cursor: pointer;
            font-size: 13px;
            font-weight: 700;
            transition: all 0.2s ease;
        }

        .stock-tab-btn.active,
        .stock-tab-btn:hover {
            background: linear-gradient(135deg, var(--bg-accent-blue) 0%, var(--bg-accent-green) 100%);
            border-color: var(--accent-gold);
            color: var(--text-dark);
        }

        .stock-tab-content {
            display: none;
        }

        .stock-tab-content.active {
            display: block;
        }

        .stock-flat-panel {
            padding: 0;
            background: transparent;
        }

        .strategy-summary-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .strategy-box {
            padding: 24px;
            border-radius: 10px;
            border-left: 4px solid;
            background: white;
        }

        .strategy-box.passive {
            border-left-color: var(--accent-blue);
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.05) 0%, white 100%);
        }

        .strategy-box.risk {
            border-left-color: var(--accent-orange);
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.05) 0%, white 100%);
        }

        .strategy-box-title {
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-dark);
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .strategy-content {
            font-size: 13px;
            color: var(--text-dark);
            line-height: 1.8;
        }

        .strategy-content li {
            list-style: none;
            padding: 8px 0;
            border-bottom: 1px solid var(--neutral-mid);
        }

        .strategy-content li:last-child {
            border-bottom: none;
        }

        .strategy-content li:before {
            content: "▸ ";
            font-weight: 700;
            color: var(--accent-gold);
            margin-right: 8px;
        }

        /* ========== 패시브 종목 분석 테이블 ========== */
        .analysis-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            margin-bottom: 24px;
        }

        .analysis-table thead {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .analysis-table th {
            padding: 14px 12px;
            text-align: left;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
        }

        .analysis-table tbody tr {
            border-bottom: 1px solid var(--neutral-mid);
        }

        .analysis-table tbody tr:hover {
            background: var(--bg-light);
        }

        .analysis-table td {
            padding: 14px 12px;
            font-size: 12px;
            color: var(--text-dark);
        }

        .rank-badge {
            display: inline-block;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--accent-gold);
            color: white;
            text-align: center;
            line-height: 28px;
            font-weight: 700;
            font-size: 12px;
        }

        .stock-name {
            font-weight: 700;
        }

        .value-positive {
            color: var(--accent-green);
            font-weight: 600;
        }

        .value-negative {
            color: var(--accent-red);
            font-weight: 600;
        }

        .value-warning {
            color: var(--accent-orange);
            font-weight: 600;
        }

        .signal-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid;
            text-align: center;
            min-width: 80px;
        }

        .signal-danger {
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.2) 0%, rgba(245, 201, 163, 0.1) 100%);
            color: var(--accent-orange);
            border-color: rgba(245, 201, 163, 0.3);
        }

        .signal-caution {
            background: linear-gradient(135deg, rgba(212, 165, 212, 0.2) 0%, rgba(212, 165, 212, 0.1) 100%);
            color: var(--accent-purple);
            border-color: rgba(212, 165, 212, 0.3);
        }

        .signal-neutral {
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.2) 0%, rgba(166, 197, 216, 0.1) 100%);
            color: var(--accent-blue);
            border-color: rgba(166, 197, 216, 0.3);
        }

        /* ========== 리밸런싱 일정 ========== */
        .rebalancing-timeline {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 32px;
        }

        .timeline-item {
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            border: 2px solid;
            background: white;
        }

        .timeline-item.critical {
            border-color: var(--accent-orange);
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.05) 0%, white 100%);
        }

        .timeline-item.warning {
            border-color: var(--accent-purple);
            background: linear-gradient(135deg, rgba(212, 165, 212, 0.05) 0%, white 100%);
        }

        .timeline-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .timeline-date {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .timeline-description {
            font-size: 12px;
            color: var(--text-dark);
            line-height: 1.5;
        }

        /* ========== 신용/공매도 모니터링 ========== */
        .credit-monitoring {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-bottom: 32px;
        }

        .credit-card {
            padding: 20px;
            background: white;
            border-radius: 10px;
            border: 1px solid var(--neutral-mid);
            box-shadow: var(--shadow-md);
        }

        .credit-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 12px;
        }

        .credit-value {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .credit-card.high .credit-value {
            color: var(--accent-red);
        }

        .credit-card.medium .credit-value {
            color: var(--accent-orange);
        }

        .credit-card.normal .credit-value {
            color: var(--accent-green);
        }

        .credit-trend {
            font-size: 12px;
            color: var(--text-light);
        }

        .credit-trend.up {
            color: var(--accent-red);
        }

        .credit-trend.down {
            color: var(--accent-green);
        }

        /* ========== 매매 전략 가이드 ========== */
        .strategy-guide {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            color: white;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 32px;
        }

        .guide-title {
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--accent-gold);
            margin-bottom: 16px;
        }

        .guide-content {
            font-size: 13px;
            line-height: 1.8;
        }

        .guide-content strong {
            color: var(--accent-gold);
        }

        .guide-point {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 12px;
        }

        .guide-point:last-child {
            margin-bottom: 0;
        }

        .guide-point-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            background: var(--accent-gold);
            color: var(--primary);
            border-radius: 50%;
            font-weight: 700;
            font-size: 12px;
            flex-shrink: 0;
        }

        /* ========== 반응형 ========== */

        .manager-strategy-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .strategy-card {
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid;
            background: white;
            box-shadow: var(--shadow-md);
        }

        .strategy-card.strong-conviction {
            border-left-color: var(--accent-green);
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.05) 0%, white 100%);
        }

        .strategy-card.underperform {
            border-left-color: var(--accent-red);
            background: linear-gradient(135deg, rgba(244, 165, 165, 0.05) 0%, white 100%);
        }

        .strategy-card.trend {
            border-left-color: var(--accent-blue);
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.05) 0%, white 100%);
        }

        .strategy-title {
            font-size: 14px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .strategy-description {
            font-size: 12px;
            color: var(--text-dark);
            line-height: 1.6;
            margin-bottom: 12px;
        }

        .strategy-example {
            padding: 12px;
            background: rgba(255, 255, 255, 0.7);
            border-left: 2px solid var(--accent-gold);
            border-radius: 4px;
            font-size: 11px;
            color: var(--text-dark);
            font-weight: 500;
        }

        /* ========== 액티브 ETF 분석 테이블 ========== */
        .analysis-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            margin-bottom: 24px;
        }

        .analysis-table thead {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .analysis-table th {
            padding: 14px 12px;
            text-align: left;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
        }

        .analysis-table tbody tr {
            border-bottom: 1px solid var(--neutral-mid);
        }

        .analysis-table tbody tr:hover {
            background: var(--bg-light);
        }

        .analysis-table td {
            padding: 14px 12px;
            font-size: 12px;
            color: var(--text-dark);
        }

        .rank-badge {
            display: inline-block;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--accent-gold);
            color: white;
            text-align: center;
            line-height: 28px;
            font-weight: 700;
            font-size: 12px;
        }

        .etf-name {
            font-weight: 700;
        }

        .value-positive {
            color: var(--accent-green);
            font-weight: 600;
        }

        .value-negative {
            color: var(--accent-red);
            font-weight: 600;
        }

        .value-warning {
            color: var(--accent-orange);
            font-weight: 600;
        }

        /* ========== 비중 변화 추적 ========== */
        .ranking-change-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .ranking-card {
            padding: 20px;
            background: white;
            border-radius: 10px;
            border: 2px solid;
            box-shadow: var(--shadow-md);
        }

        .ranking-card.strong {
            border-color: var(--accent-green);
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.05) 0%, white 100%);
        }

        .ranking-card.warning {
            border-color: var(--accent-orange);
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.05) 0%, white 100%);
        }

        .ranking-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 12px;
        }

        .ranking-content {
            font-size: 13px;
            color: var(--text-dark);
            line-height: 1.7;
        }

        .ranking-content strong {
            color: var(--text-dark);
            font-weight: 700;
        }

        /* ========== 신호 배지 ========== */
        .signal-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid;
            margin: 4px 4px 4px 0;
        }

        .signal-strong {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2) 0%, rgba(168, 213, 186, 0.1) 100%);
            color: var(--accent-green);
            border-color: rgba(168, 213, 186, 0.3);
        }

        .signal-caution {
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.2) 0%, rgba(245, 201, 163, 0.1) 100%);
            color: var(--accent-orange);
            border-color: rgba(245, 201, 163, 0.3);
        }

        .signal-danger {
            background: linear-gradient(135deg, rgba(244, 165, 165, 0.2) 0%, rgba(244, 165, 165, 0.1) 100%);
            color: var(--accent-red);
            border-color: rgba(244, 165, 165, 0.3);
        }

        /* ========== 매니저 성과 지표 ========== */
        .manager-performance {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 32px;
        }

        .performance-card {
            padding: 20px;
            background: white;
            border-radius: 10px;
            border: 2px solid var(--neutral-mid);
            text-align: center;
        }

        .performance-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 12px;
        }

        .performance-value {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
        }

        .performance-card.positive .performance-value {
            color: var(--accent-green);
        }

        .performance-card.negative .performance-value {
            color: var(--accent-red);
        }

        .performance-desc {
            font-size: 12px;
            color: var(--text-light);
            line-height: 1.5;
        }

        /* ========== 반응형 ========== */

        .risk-indicator-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 32px;
        }

        .risk-card {
            padding: 20px;
            background: white;
            border-radius: 10px;
            border: 2px solid;
            text-align: center;
            box-shadow: var(--shadow-md);
        }

        .risk-card.critical {
            border-color: var(--accent-red);
            background: linear-gradient(135deg, rgba(244, 165, 165, 0.1) 0%, white 100%);
        }

        .risk-card.high {
            border-color: var(--accent-orange);
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.1) 0%, white 100%);
        }

        .risk-card.medium {
            border-color: var(--accent-purple);
            background: linear-gradient(135deg, rgba(212, 165, 212, 0.1) 0%, white 100%);
        }

        .risk-card.normal {
            border-color: var(--accent-green);
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.1) 0%, white 100%);
        }

        .risk-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 12px;
        }

        .risk-value {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .risk-card.critical .risk-value {
            color: var(--accent-red);
        }

        .risk-card.high .risk-value {
            color: var(--accent-orange);
        }

        .risk-card.medium .risk-value {
            color: var(--accent-purple);
        }

        .risk-card.normal .risk-value {
            color: var(--accent-green);
        }

        .risk-status {
            font-size: 12px;
            font-weight: 700;
            color: var(--text-light);
        }

        /* ========== 모니터링 테이블 ========== */
        .analysis-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            margin-bottom: 24px;
        }

        .analysis-table thead {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .analysis-table th {
            padding: 14px 12px;
            text-align: left;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
        }

        .analysis-table tbody tr {
            border-bottom: 1px solid var(--neutral-mid);
        }

        .analysis-table tbody tr:hover {
            background: var(--bg-light);
        }

        .analysis-table td {
            padding: 14px 12px;
            font-size: 12px;
            color: var(--text-dark);
        }

        .stock-name {
            font-weight: 700;
        }

        .value-critical {
            color: var(--accent-red);
            font-weight: 700;
            background: rgba(244, 165, 165, 0.1);
            padding: 4px 8px;
            border-radius: 4px;
            display: inline-block;
        }

        .value-high {
            color: var(--accent-orange);
            font-weight: 700;
        }

        .value-medium {
            color: var(--accent-purple);
            font-weight: 600;
        }

        .value-normal {
            color: var(--accent-green);
            font-weight: 600;
        }

        /* ========== 신호 배지 ========== */
        .signal-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid;
        }

        .signal-critical {
            background: linear-gradient(135deg, rgba(244, 165, 165, 0.2) 0%, rgba(244, 165, 165, 0.1) 100%);
            color: var(--accent-red);
            border-color: rgba(244, 165, 165, 0.3);
        }

        .signal-high {
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.2) 0%, rgba(245, 201, 163, 0.1) 100%);
            color: var(--accent-orange);
            border-color: rgba(245, 201, 163, 0.3);
        }

        .signal-normal {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2) 0%, rgba(168, 213, 186, 0.1) 100%);
            color: var(--accent-green);
            border-color: rgba(168, 213, 186, 0.3);
        }

        /* ========== 단계별 대응 매뉴얼 ========== */
        .response-manual {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .manual-card {
            padding: 20px;
            background: white;
            border-radius: 10px;
            border-left: 4px solid;
            box-shadow: var(--shadow-md);
        }

        .manual-card.critical {
            border-left-color: var(--accent-red);
        }

        .manual-card.high {
            border-left-color: var(--accent-orange);
        }

        .manual-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 12px;
        }

        .manual-content {
            font-size: 12px;
            color: var(--text-dark);
            line-height: 1.7;
        }

        .manual-content strong {
            display: block;
            margin: 8px 0 4px 0;
            color: var(--text-dark);
        }

        .manual-content li {
            margin-left: 16px;
            margin-bottom: 6px;
        }

        /* ========== 반응형 ========== */

        .overlap-summary-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .summary-card {
            padding: 20px;
            background: white;
            border-radius: 10px;
            border: 2px solid;
            text-align: center;
            box-shadow: var(--shadow-md);
        }

        .summary-card.inflow {
            border-color: var(--accent-green);
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.1) 0%, white 100%);
        }

        .summary-card.outflow {
            border-color: var(--accent-red);
            background: linear-gradient(135deg, rgba(244, 165, 165, 0.1) 0%, white 100%);
        }

        .summary-card.new {
            border-color: var(--accent-blue);
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.1) 0%, white 100%);
        }

        .summary-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
            margin-bottom: 12px;
        }

        .summary-count {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .summary-card.inflow .summary-count {
            color: var(--accent-green);
        }

        .summary-card.outflow .summary-count {
            color: var(--accent-red);
        }

        .summary-card.new .summary-count {
            color: var(--accent-blue);
        }

        .summary-desc {
            font-size: 12px;
            color: var(--text-light);
            line-height: 1.5;
        }

        /* ========== 분석 테이블 ========== */
        .analysis-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            margin-bottom: 24px;
        }

        .analysis-table thead {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .analysis-table th {
            padding: 14px 12px;
            text-align: left;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
        }

        .analysis-table tbody tr {
            border-bottom: 1px solid var(--neutral-mid);
        }

        .analysis-table tbody tr:hover {
            background: var(--bg-light);
        }

        .analysis-table td {
            padding: 14px 12px;
            font-size: 12px;
            color: var(--text-dark);
        }

        .stock-name {
            font-weight: 700;
        }

        .value-positive {
            color: var(--accent-green);
            font-weight: 600;
        }

        .value-negative {
            color: var(--accent-red);
            font-weight: 600;
        }

        /* ========== 신호 배지 ========== */
        .signal-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid;
        }

        .signal-strong {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2) 0%, rgba(168, 213, 186, 0.1) 100%);
            color: var(--accent-green);
            border-color: rgba(168, 213, 186, 0.3);
        }

        .signal-caution {
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.2) 0%, rgba(245, 201, 163, 0.1) 100%);
            color: var(--accent-orange);
            border-color: rgba(245, 201, 163, 0.3);
        }

        .signal-danger {
            background: linear-gradient(135deg, rgba(244, 165, 165, 0.2) 0%, rgba(244, 165, 165, 0.1) 100%);
            color: var(--accent-red);
            border-color: rgba(244, 165, 165, 0.3);
        }

        .signal-info {
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.2) 0%, rgba(166, 197, 216, 0.1) 100%);
            color: var(--accent-blue);
            border-color: rgba(166, 197, 216, 0.3);
        }

        /* ========== 시나리오 박스 ========== */
        .scenario-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .scenario-card {
            padding: 20px;
            background: white;
            border-radius: 10px;
            border-left: 4px solid;
            box-shadow: var(--shadow-md);
        }

        .scenario-card.opportunity {
            border-left-color: var(--accent-green);
        }

        .scenario-card.risk {
            border-left-color: var(--accent-red);
        }

        .scenario-title {
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .scenario-content {
            font-size: 12px;
            color: var(--text-dark);
            line-height: 1.7;
        }

        .scenario-content strong {
            display: block;
            margin: 8px 0 4px 0;
        }

        .scenario-content li {
            margin-left: 16px;
            margin-bottom: 6px;
        }

        /* ========== 반응형 ========== */

        @media (max-width: 1200px) {
            .strategy-summary-grid,
            .manager-strategy-grid,
            .ranking-change-grid,
            .manager-performance,
            .overlap-summary-grid,
            .scenario-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .risk-indicator-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 768px) {
            .strategy-summary-grid,
            .manager-strategy-grid,
            .ranking-change-grid,
            .manager-performance,
            .risk-indicator-grid,
            .overlap-summary-grid,
            .scenario-grid,
            .response-manual,
            .credit-monitoring,
            .timeline-grid,
            .rebalancing-timeline {
                grid-template-columns: 1fr;
            }

            .timeline-item {
                min-width: 0;
            }
        }

        @media (max-width: 768px) {
            .strategy-summary-grid,
            .manager-strategy-grid,
            .ranking-change-grid,
            .manager-performance,
            .risk-indicator-grid,
            .overlap-summary-grid,
            .scenario-grid,
            .response-manual,
            .credit-monitoring,
            .timeline-grid {
                grid-template-columns: 1fr;
            }

            .timeline-item {
                min-width: 0;
            }
        }

        @media (max-width: 1280px) {
            .page-layout {
                grid-template-columns: minmax(0, var(--page-content-max));
                padding: 20px clamp(14px, 3vw, 24px) 0;
            }

            .layout-ad-rail {
                display: none;
            }
        }

        @media (max-width: 1560px) {
            body.market-replay-active .page-layout {
                box-sizing: border-box;
                width: 100%;
                max-width: 100%;
                grid-template-columns: minmax(0, var(--page-content-max));
                padding: 20px clamp(14px, 3vw, 24px) 0;
            }

            body.market-replay-active .layout-ad-rail {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .scroll-top-button {
                right: 16px;
                bottom: 16px;
                width: 48px;
                height: 48px;
            }

            .sidebar {
                position: sticky;
                top: 0;
                left: auto;
                height: auto;
                min-height: 60px;
                z-index: 100;
                padding: 10px 14px;
                gap: 10px;
            }

            .sidebar.open {
                left: auto;
            }

            .main-wrapper {
                margin-left: 0;
                width: 100vw;
                max-width: 100vw;
                flex-basis: 100vw;
            }

            .page-layout {
                padding: 16px 12px 0;
            }

            .container {
                padding: 0;
            }

            .site-footer {
                margin-top: 24px;
                padding: 22px 14px;
            }

            .site-footer-links {
                gap: 8px 0;
            }

            .site-footer-link {
                padding: 0 10px;
                font-size: 12px;
            }

            .site-footer-info {
                font-size: 11px;
                text-align: left;
            }

            .sidebar-toggle {
                display: none;
            }

            .header {
                padding: 0 16px;
                min-height: 56px;
            }

            .page-title {
                font-size: 24px;
            }

            .page-section,
            .page-section.active {
                width: 100%;
                max-width: 100%;
            }

            .metrics-grid,
            .sector-grid {
                grid-template-columns: 1fr;
            }

            .tab-navigation {
                flex-wrap: wrap;
            }

            .analysis-table {
                font-size: 11px;
            }

            .analysis-table th,
            .analysis-table td {
                padding: 10px 8px;
            }

            .tabs-container,
            .signal-filters,
            .signal-category,
            .modal-content {
                padding: 16px;
            }

            .gpt-insight-panel {
                width: 100%;
                padding: 20px 16px 18px;
            }

            .gpt-insight-panel-title {
                font-size: 20px;
            }

            .gpt-insight-panel-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .gpt-insight-panel-actions .ai-quote-btn {
                width: 100%;
            }

            .gpt-insight-panel-body .ai-core-detail-grid {
                grid-template-columns: 1fr;
            }

            .gpt-insight-panel-more {
                padding-inline: 10px;
            }

            .industry-grid {
                grid-template-columns: 1fr;
            }

            .etf-buttons-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .stock-tab-navigation {
                flex-direction: column;
            }
        }

        @media (max-width: 480px) {
            .page-layout {
                padding: 12px 8px 0;
            }

            .container {
                padding: 0;
            }

            .card {
                padding: 16px;
            }

            .page-title {
                font-size: 20px;
            }

            .chart-placeholder {
                height: 200px;
            }

            .signal-category-title {
                font-size: 18px;
            }

            .etf-buttons-container {
                grid-template-columns: 1fr;
            }

            .etf-signal-filters {
                flex-direction: column;
            }

            .etf-filter-btn {
                width: 100%;
            }
        }

        .dashboard-section .page-date {
            font-size: 13px;
            color: var(--text-light);
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
        }

        .dashboard-section > .page-header {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
            gap: 8px 24px;
            align-items: start;
            padding: 26px 28px;
            margin-bottom: 18px;
            border: 1px solid rgba(217, 226, 236, 0.8);
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 14px 32px rgba(21, 37, 60, 0.07);
        }

        .dashboard-section .dashboard-hero-title {
            font-size: 30px;
            font-weight: 900;
            letter-spacing: 0;
            margin-bottom: 8px;
            color: #10243f;
        }

        .dashboard-section .dashboard-hero-subtitle {
            margin-bottom: 12px;
            color: #506174;
            font-size: 14px;
            line-height: 1.6;
            font-weight: 600;
        }

        .dashboard-section .dashboard-date-control {
            grid-column: 2;
            grid-row: 1 / span 3;
            justify-self: end;
            width: 100%;
            max-width: 360px;
            margin: 0;
        }

        .dashboard-section .dashboard-date-control p {
            word-break: keep-all;
        }

        .dashboard-section .dashboard-market-targets {
            grid-column: 1 / -1;
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 14px;
            padding-top: 14px;
            border-top: 1px solid rgba(214, 224, 235, 0.86);
            color: #152a44;
            font-size: 14px;
            font-weight: 700;
        }

        .dashboard-section .dashboard-target-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 42px;
            height: 26px;
            padding: 0 10px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 900;
        }

        .dashboard-section .dashboard-target-badge-etf {
            color: #185cc8;
            background: #e9f1ff;
        }

        .dashboard-section .dashboard-target-badge-stock {
            color: #158548;
            background: #eaf8ef;
        }

        .dashboard-section .dashboard-lead-etf-code,
        .dashboard-section .dashboard-lead-stock-code {
            color: #496078;
            font-weight: 700;
        }

        .dashboard-section .dashboard-target-separator {
            width: 1px;
            height: 20px;
            background: rgba(120, 133, 143, 0.3);
            margin: 0 8px;
        }

        .dashboard-section .dashboard-quote-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 28px;
            padding: 0 12px;
            border-radius: 8px;
            border: 1px solid rgba(80, 137, 223, 0.38);
            background: rgba(255, 255, 255, 0.92);
            color: #1f66c7;
            text-decoration: none;
            font-size: 12px;
            font-weight: 900;
            box-shadow: 0 6px 14px rgba(31, 102, 199, 0.08);
        }

        .dashboard-section .dashboard-mode-filter-shell {
            margin: 0 0 18px;
            padding: 16px 18px;
            border-radius: 14px;
            border: 1px solid rgba(205, 160, 128, 0.28);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 252, 0.92) 100%);
            box-shadow: 0 10px 24px rgba(21, 37, 60, 0.05);
        }

        .dashboard-section .dashboard-mode-filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 18px;
            flex-wrap: wrap;
        }

        .dashboard-section .dashboard-mode-filter-label {
            font-size: 12px;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 6px;
        }

        .dashboard-section .dashboard-mode-filter-title {
            font-size: 16px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .dashboard-section .dashboard-mode-segmented {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 4px;
            border-radius: 12px;
            border: 1px solid rgba(120, 133, 143, 0.22);
            background: #eef2f5;
            box-shadow: inset 0 1px 2px rgba(21, 37, 60, 0.06);
        }

        .dashboard-section .dashboard-mode-chip {
            min-width: 76px;
            height: 38px;
            padding: 0 18px;
            border: 0;
            border-radius: 10px;
            background: transparent;
            color: var(--text-dark);
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
            transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
        }

        .dashboard-section .dashboard-mode-chip:hover {
            background: rgba(255, 255, 255, 0.62);
        }

        .dashboard-section .dashboard-mode-chip.active {
            background: white;
            color: var(--primary);
            box-shadow: 0 6px 16px rgba(21, 37, 60, 0.12);
        }

        .dashboard-section .dashboard-mode-description {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(120, 133, 143, 0.16);
            color: var(--text-muted);
            font-size: 13px;
            line-height: 1.65;
        }

        .dashboard-section .ai-summary-section {
            background:
                radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.14) 0%, transparent 26%),
                radial-gradient(circle at 12% 0%, rgba(63, 133, 206, 0.28) 0%, transparent 32%),
                linear-gradient(135deg, #08285a 0%, #123d73 45%, #25495f 100%);
            border-radius: 16px;
            padding: 28px 30px 24px;
            margin-bottom: 20px;
            box-shadow: 0 22px 48px rgba(13, 41, 72, 0.28);
            border: 1px solid rgba(94, 150, 222, 0.18);
            color: white;
        }

        .dashboard-section .ai-summary-title {
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--accent-gold);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .dashboard-section .ai-summary-text {
            font-size: 16px;
            color: white;
            line-height: 1.65;
            font-weight: 700;
            margin-bottom: 22px;
            padding: 0 0 0 16px;
            max-width: 980px;
            background: transparent;
            border-left: 3px solid var(--accent-gold);
            border-radius: 0;
        }

        .dashboard-section .ai-summary-insight-label {
            display: inline-flex;
            margin-bottom: 8px;
            color: rgba(255, 255, 255, 0.72);
            font-size: 12px;
            font-weight: 900;
        }

        .dashboard-section .ai-summary-conclusion-card {
            margin-bottom: 18px;
            padding: 18px 20px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.11);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .dashboard-section .ai-summary-conclusion-card strong {
            display: block;
            color: white;
            font-size: 18px;
            line-height: 1.35;
            font-weight: 900;
            word-break: keep-all;
        }

        .dashboard-section .ai-summary-conclusion-card strong em {
            color: #ffffff;
            font-style: normal;
        }

        .dashboard-section .ai-summary-conclusion-card strong em.warning {
            color: #ffb36b;
        }

        .dashboard-section .ai-summary-conclusion-card p {
            margin: 8px 0 12px;
            color: rgba(255, 255, 255, 0.9);
            font-size: 13px;
            line-height: 1.65;
            font-weight: 650;
            word-break: keep-all;
        }

        .dashboard-section .ai-summary-signal-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            margin: 0 0 10px;
        }

        .dashboard-section .ai-summary-signal-row div {
            padding: 10px 12px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
        }

        .dashboard-section .ai-summary-signal-row span {
            display: block;
            margin-bottom: 5px;
            color: rgba(255, 255, 255, 0.68);
            font-size: 11px;
            font-weight: 800;
        }

        .dashboard-section .ai-summary-signal-row b {
            display: block;
            color: #fff;
            font-size: 13px;
            line-height: 1.45;
            font-weight: 900;
        }

        .dashboard-section .ai-summary-conclusion-card small {
            display: block;
            color: rgba(255, 255, 255, 0.72);
            font-size: 12px;
            line-height: 1.55;
            font-weight: 700;
        }

        .dashboard-section .ai-summary-highlights,
        .dashboard-section .checkpoint-grid,
        .dashboard-section .decision-grid {
            display: grid;
            gap: 16px;
        }

        .dashboard-section .dashboard-disclaimer-banner {
            margin: 0 0 18px;
            padding: 18px 22px;
            border-radius: 14px;
            border: 1px solid rgba(89, 124, 245, 0.22);
            background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
            box-shadow: 0 10px 24px rgba(21, 37, 60, 0.04);
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }

        .dashboard-section .dashboard-disclaimer-icon {
            width: 32px;
            height: 32px;
            flex-shrink: 0;
            border-radius: 50%;
            background: linear-gradient(145deg, #7259f1 0%, #4b7ef1 100%);
            color: white;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 18px rgba(80, 105, 220, 0.22);
        }

        .dashboard-section .dashboard-disclaimer-content {
            min-width: 0;
        }

        .dashboard-section .dashboard-disclaimer-title {
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #18385f;
            margin-bottom: 8px;
        }

        .dashboard-section .dashboard-disclaimer-copy,
        .dashboard-section .decision-disclaimer-note {
            font-size: 13px;
            line-height: 1.75;
            color: var(--text-dark);
        }

        .dashboard-section .ai-summary-highlights {
            grid-template-columns: repeat(3, 1fr);
        }

        .dashboard-section .checkpoint-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .dashboard-section .decision-grid {
            grid-template-columns: repeat(4, 1fr);
        }

        .dashboard-section .highlight-box,
        .dashboard-section .checkpoint-card,
        .dashboard-section .decision-card {
            background: white;
            border-radius: 8px;
            box-shadow: var(--shadow-md);
        }

        .dashboard-section .highlight-box {
            padding: 22px 22px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-left: 0;
            min-height: 132px;
            border-radius: 12px;
        }

        .dashboard-section .dashboard-highlight-shell {
            display: flex;
            align-items: center;
            gap: 18px;
            height: 100%;
        }

        .dashboard-section .dashboard-highlight-icon {
            width: 58px;
            height: 58px;
            border-radius: 50%;
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 20px rgba(12, 25, 40, 0.14);
        }

        .dashboard-section .dashboard-highlight-icon svg {
            width: 28px;
            height: 28px;
        }

        .dashboard-section .highlight-box.price .dashboard-highlight-icon {
            color: #64c38f;
        }

        .dashboard-section .highlight-box.volume .dashboard-highlight-icon {
            color: #8074f2;
        }

        .dashboard-section .highlight-box.signal .dashboard-highlight-icon {
            color: #5a9df1;
        }

        .dashboard-section .dashboard-highlight-copy {
            min-width: 0;
            display: grid;
            gap: 8px;
        }

        .dashboard-section .highlight-label {
            font-size: 16px;
            font-weight: 800;
            letter-spacing: 0;
            text-transform: none;
            color: #ffffff;
            margin-bottom: 0;
        }

        .dashboard-section .dashboard-highlight-metric {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 6px 10px;
        }

        .dashboard-section .dashboard-highlight-kicker {
            font-size: 13px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.82);
        }

        .dashboard-section .dashboard-highlight-emphasis {
            font-size: 15px;
            font-weight: 800;
            color: #8be0a8;
        }

        .dashboard-section .highlight-box.signal .dashboard-highlight-emphasis {
            color: #ffad62;
        }

        .dashboard-section .highlight-content {
            font-size: 13px;
            color: rgba(255, 255, 255, 0.94);
            line-height: 1.7;
        }

        .dashboard-section .strategy-result-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
            margin-bottom: 16px;
        }

        .dashboard-section .strategy-card {
            padding: 18px 18px 16px;
            border-radius: 16px;
            border-left: 0;
            border: 1px solid rgba(214, 224, 235, 0.8);
            background: linear-gradient(145deg, rgba(245, 250, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
            box-shadow: 0 16px 30px rgba(28, 48, 76, 0.08);
        }

        .dashboard-section .strategy-card.etf {
            background: linear-gradient(145deg, rgba(241, 248, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .strategy-card.stock {
            background: linear-gradient(145deg, rgba(242, 253, 246, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .strategy-card.market {
            background: linear-gradient(145deg, rgba(245, 249, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .strategy-card-head {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 14px;
        }

        .dashboard-section .strategy-card-icon {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(91, 149, 228, 0.16);
            color: #5b95e4;
        }

        .dashboard-section .strategy-card.stock .strategy-card-icon {
            background: rgba(95, 193, 136, 0.18);
            color: #47a96d;
        }

        .dashboard-section .strategy-card.market .strategy-card-icon {
            background: rgba(83, 132, 228, 0.16);
            color: #3d78d8;
        }

        .dashboard-section .strategy-card-icon svg {
            width: 22px;
            height: 22px;
        }

        .dashboard-section .strategy-card-title {
            font-size: 18px;
            font-weight: 800;
            text-transform: none;
            letter-spacing: 0;
            color: var(--text-dark);
            margin-bottom: 0;
        }

        .dashboard-section .strategy-checklist {
            display: grid;
            gap: 16px;
        }

        .dashboard-section .strategy-check-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding-bottom: 14px;
            border-bottom: 1px solid rgba(120, 133, 143, 0.12);
        }

        .dashboard-section .strategy-check-item:last-child {
            padding-bottom: 0;
            border-bottom: 0;
        }

        .dashboard-section .strategy-check-bullet {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(91, 149, 228, 0.16);
            color: #4d88d8;
            font-size: 12px;
            font-weight: 800;
            margin-top: 2px;
        }

        .dashboard-section .strategy-card.stock .strategy-check-bullet {
            background: rgba(95, 193, 136, 0.16);
            color: #429966;
        }

        .dashboard-section .strategy-card.market .strategy-check-bullet {
            background: rgba(83, 132, 228, 0.14);
            color: #3d78d8;
        }

        .dashboard-section .strategy-check-copy {
            min-width: 0;
            display: grid;
            gap: 6px;
        }

        .dashboard-section .strategy-check-title {
            font-size: 15px;
            line-height: 1.5;
            color: var(--text-dark);
            font-weight: 700;
        }

        .dashboard-section .strategy-check-title strong {
            color: #2e8bc7;
        }

        .dashboard-section .strategy-card.stock .strategy-check-title strong {
            color: #33a467;
        }

        .dashboard-section .strategy-check-description {
            font-size: 14px;
            line-height: 1.65;
            color: var(--text-medium);
        }

        .dashboard-section .dashboard-reference-footnote {
            padding-top: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-medium);
            font-size: 13px;
            line-height: 1.6;
        }

        .dashboard-section .dashboard-source-actions {
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid rgba(120, 133, 143, 0.14);
            display: grid;
            grid-template-columns: 1fr auto;
            gap: 18px;
            align-items: center;
        }

        .dashboard-section .dashboard-source-note {
            display: grid;
            gap: 6px;
            font-size: 12px;
            line-height: 1.65;
            color: #496078;
        }

        .dashboard-section .dashboard-source-note strong {
            color: #10243f;
            font-size: 13px;
        }

        .dashboard-section .dashboard-naver-button {
            min-width: 280px;
            min-height: 44px;
            border-color: rgba(42, 177, 104, 0.42);
            color: #128348;
            background: #ffffff;
            font-size: 14px;
        }

        .dashboard-section .dashboard-reference-footnote-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(88, 115, 144, 0.12);
            color: var(--text-light);
            font-size: 11px;
            font-weight: 800;
        }

        .dashboard-section .section-heading {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--neutral-mid);
        }

        .dashboard-section .recommended-etf-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .dashboard-section .etf-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            border-top: 4px solid;
        }

        .dashboard-section .etf-card.strong-buy {
            border-top-color: var(--accent-green);
        }

        .dashboard-section .etf-card.buy {
            border-top-color: var(--accent-purple);
        }

        .dashboard-section .etf-card.hold {
            border-top-color: var(--accent-blue);
        }

        .dashboard-section .etf-card-header {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            padding: 20px;
            color: white;
        }

        .dashboard-section .etf-name {
            font-size: 15px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .dashboard-section .etf-code {
            font-size: 11px;
            color: var(--accent-gold);
            font-family: "Courier New", monospace;
            font-weight: 600;
        }

        .dashboard-section .etf-card-body {
            padding: 20px;
            background: white;
        }

        .dashboard-section .etf-metric {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0;
            border-bottom: 1px solid var(--neutral-mid);
            font-size: 12px;
        }

        .dashboard-section .etf-metric:last-child {
            border-bottom: none;
        }

        .dashboard-section .etf-metric-label {
            color: var(--text-light);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 10px;
            letter-spacing: 0.5px;
        }

        .dashboard-section .etf-metric-value {
            font-weight: 700;
            color: var(--text-dark);
            font-size: 13px;
        }

        .dashboard-section .etf-card-footer {
            padding: 16px 20px;
            background: var(--bg-light);
            border-top: 1px solid var(--neutral-mid);
        }

        .dashboard-section .etf-summary {
            font-size: 11px;
            color: var(--text-dark);
            line-height: 1.6;
            font-weight: 500;
            margin-bottom: 8px;
        }

        .dashboard-section .signal-badge,
        .dashboard-section .etf-signal {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid;
            text-align: center;
        }

        .dashboard-section .action-chip {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 700;
            border: 1px solid;
        }

        .dashboard-section .signal-strong-buy,
        .dashboard-section .etf-signal.strong-buy {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2) 0%, rgba(168, 213, 186, 0.1) 100%);
            color: var(--accent-green);
            border-color: rgba(168, 213, 186, 0.3);
        }

        .dashboard-section .signal-buy,
        .dashboard-section .etf-signal.buy {
            background: linear-gradient(135deg, rgba(212, 165, 212, 0.2) 0%, rgba(212, 165, 212, 0.1) 100%);
            color: var(--accent-purple);
            border-color: rgba(212, 165, 212, 0.3);
        }

        .dashboard-section .signal-hold,
        .dashboard-section .etf-signal.hold {
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.2) 0%, rgba(166, 197, 216, 0.1) 100%);
            color: var(--accent-blue);
            border-color: rgba(166, 197, 216, 0.3);
        }

        .dashboard-section .action-chip.strong {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2) 0%, rgba(168, 213, 186, 0.1) 100%);
            color: var(--accent-green);
            border-color: rgba(168, 213, 186, 0.3);
        }

        .dashboard-section .action-chip.hold {
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.2) 0%, rgba(166, 197, 216, 0.1) 100%);
            color: var(--accent-blue);
            border-color: rgba(166, 197, 216, 0.3);
        }

        .dashboard-section .action-chip.mid {
            background: linear-gradient(135deg, rgba(212, 165, 212, 0.2) 0%, rgba(212, 165, 212, 0.1) 100%);
            color: var(--accent-purple);
            border-color: rgba(212, 165, 212, 0.3);
        }

        .dashboard-section .stocks-table {
            width: 100%;
            border-collapse: collapse;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .dashboard-section .table-scroll-wrap {
            width: 100%;
            overflow-x: auto;
        }

        .dashboard-section .table-guide-note {
            margin: -6px 0 16px;
            padding: 12px 14px;
            border-radius: 10px;
            background: rgba(47, 76, 102, 0.07);
            border: 1px solid rgba(47, 76, 102, 0.14);
            color: var(--text-dark);
            font-size: 12px;
            line-height: 1.6;
        }

        .dashboard-section .radar-filter-shell {
            margin: 0 0 16px;
            padding: 14px;
            border-radius: 16px;
            border: 1px solid rgba(47, 76, 102, 0.12);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 242, 237, 0.88) 100%);
            box-shadow: 0 8px 20px rgba(47, 76, 102, 0.06);
        }

        .dashboard-section .radar-insight-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin: 0 0 16px;
        }

        .dashboard-section .radar-insight-card {
            min-height: 88px;
            padding: 14px 16px;
            border-radius: 10px;
            border: 1px solid rgba(47, 76, 102, 0.12);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 249, 0.92) 100%);
            box-shadow: 0 10px 24px rgba(44, 62, 80, 0.06);
        }

        .dashboard-section .radar-insight-label {
            margin-bottom: 8px;
            color: var(--text-light);
            font-size: 11px;
            font-weight: 800;
        }

        .dashboard-section .radar-insight-value {
            color: var(--text-dark);
            font-size: 14px;
            font-weight: 800;
            line-height: 1.45;
        }

        .dashboard-section .radar-filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            align-items: flex-start;
        }

        .dashboard-section .radar-filter-group {
            display: grid;
            gap: 8px;
            min-width: 240px;
            flex: 1 1 280px;
        }

        .dashboard-section .radar-filter-label {
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-light);
        }

        .dashboard-section .radar-segmented-control {
            display: inline-flex;
            flex-wrap: wrap;
            gap: 0;
            padding: 4px;
            border-radius: 14px;
            background: rgba(47, 76, 102, 0.07);
            border: 1px solid rgba(47, 76, 102, 0.08);
            width: fit-content;
            max-width: 100%;
        }

        .dashboard-section .radar-segment {
            border: 0;
            background: transparent;
            color: var(--text-dark);
            font-size: 13px;
            font-weight: 700;
            padding: 10px 16px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .dashboard-section .radar-segment:hover {
            color: var(--primary);
        }

        .dashboard-section .radar-segment.active {
            background: white;
            color: var(--primary);
            box-shadow: 0 6px 16px rgba(47, 76, 102, 0.12);
        }

        .dashboard-section .radar-filter-summary {
            display: flex;
            flex-wrap: wrap;
            gap: 6px 14px;
            align-items: center;
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px solid rgba(47, 76, 102, 0.08);
        }

        .dashboard-section .radar-filter-summary-main {
            font-size: 13px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .dashboard-section .observation-history-card {
            padding: 30px 28px 42px;
            border-radius: 10px;
            border-top-color: #d9ae8f;
            box-shadow: 0 12px 30px rgba(44, 62, 80, 0.1);
        }

        .dashboard-section .observation-history-card .card-title {
            margin-bottom: 20px;
            padding-bottom: 18px;
            border-bottom-color: rgba(166, 197, 216, 0.42);
            font-size: 18px;
            line-height: 1.35;
        }

        .dashboard-section .observation-history-shell {
            margin-bottom: 0;
            padding: 16px;
            border-radius: 14px;
            border-color: rgba(47, 76, 102, 0.14);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 249, 246, 0.94) 100%);
            box-shadow: 0 10px 24px rgba(44, 62, 80, 0.06);
        }

        .dashboard-section .observation-history-controls {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 108px;
            gap: 16px;
            align-items: flex-end;
        }

        .dashboard-section .observation-history-control {
            display: grid;
            gap: 8px;
            min-width: 0;
        }

        .dashboard-section .observation-history-actions {
            display: flex;
            align-items: flex-end;
        }

        .dashboard-section .observation-history-date-input {
            height: 44px;
            padding: 0 14px;
            border-radius: 12px;
            border: 1px solid rgba(47, 76, 102, 0.16);
            background: rgba(255, 255, 255, 0.95);
            color: var(--text-dark);
            font-size: 16px;
            font-weight: 800;
            letter-spacing: 0;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
        }

        .dashboard-section .observation-history-load-btn {
            display: inline-flex;
            align-items: center;
            height: 44px;
            width: 108px;
            min-width: 108px;
            border-radius: 12px;
            justify-content: center;
        }

        .dashboard-section .observation-history-meta {
            margin-top: 14px;
            padding-top: 12px;
            border-top-color: rgba(47, 76, 102, 0.1);
        }

        .dashboard-section .radar-filter-summary-sub {
            font-size: 12px;
            color: var(--text-light);
            line-height: 1.5;
        }

        .dashboard-section .radar-etf-code-list {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            gap: 4px;
            max-width: 100%;
            white-space: nowrap;
        }

        .dashboard-section .radar-etf-trigger {
            border: 1px solid rgba(47, 76, 102, 0.16);
            background: rgba(255, 255, 255, 0.95);
            color: var(--primary);
            font-size: 11px;
            font-weight: 800;
            padding: 6px 8px;
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .dashboard-section .radar-etf-trigger:hover,
        .dashboard-section .radar-etf-trigger:focus-visible {
            border-color: var(--accent-gold);
            background: rgba(212, 175, 150, 0.12);
            transform: translateY(-1px);
            outline: none;
        }

        .dashboard-section .radar-etf-more {
            display: inline-flex;
            flex: 0 0 auto;
        }

        .dashboard-section .radar-etf-more-trigger {
            border: 1px solid rgba(47, 76, 102, 0.16);
            background: rgba(47, 76, 102, 0.07);
            color: var(--primary);
            font-size: 11px;
            font-weight: 800;
            padding: 6px 8px;
            border-radius: 999px;
            cursor: pointer;
            white-space: nowrap;
        }

        .dashboard-section .radar-etf-more-trigger:hover,
        .dashboard-section .radar-etf-more-trigger:focus-visible {
            border-color: var(--accent-gold);
            background: rgba(212, 175, 150, 0.12);
            outline: none;
        }

        .dashboard-section .radar-etf-more-popover {
            display: none;
            margin-top: 6px;
            width: 100%;
            white-space: normal;
        }

        .dashboard-section .radar-etf-more.is-open .radar-etf-more-popover {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .dashboard-section .radar-etf-more.is-open {
            display: flex;
            flex-wrap: wrap;
            width: 100%;
        }

        .dashboard-section .top-etf-filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 0 0 12px;
        }

        .dashboard-section .top-etf-filter-chip,
        .dashboard-section .top-stock-filter-chip {
            border: 1px solid var(--neutral-mid);
            background: var(--bg-light);
            color: var(--text-dark);
            font-size: 12px;
            font-weight: 700;
            padding: 10px 14px;
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .dashboard-section .top-etf-filter-chip:hover,
        .dashboard-section .top-stock-filter-chip:hover {
            border-color: var(--accent-gold);
            transform: translateY(-1px);
        }

        .dashboard-section .top-etf-filter-chip.active,
        .dashboard-section .top-stock-filter-chip.active {
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.25) 0%, rgba(168, 213, 186, 0.25) 100%);
            border-color: var(--accent-gold);
        }

        .dashboard-section .stocks-table thead {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        }

        .dashboard-section .stocks-table th {
            padding: 14px 12px;
            text-align: left;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: white;
        }

        .dashboard-section .monthly-radar-table {
            table-layout: fixed;
            width: 100%;
        }

        .dashboard-section .stocks-table tbody tr {
            border-bottom: 1px solid var(--neutral-mid);
            transition: background 0.2s ease;
        }

        .dashboard-section .stocks-table tbody tr:hover {
            background: var(--bg-light);
        }

        .dashboard-section .stocks-table td {
            padding: 12px;
            font-size: 12px;
            color: var(--text-dark);
            vertical-align: top;
        }

        .dashboard-section .stocks-table .cell-center {
            text-align: center;
        }

        .dashboard-section .stocks-table .cell-number {
            text-align: right;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .dashboard-section .stocks-table .cell-code,
        .dashboard-section .stocks-table .cell-date {
            text-align: center;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .dashboard-section .stocks-table .cell-name {
            line-height: 1.45;
            word-break: keep-all;
        }

        .dashboard-section .stocks-table .cell-tone,
        .dashboard-section .stocks-table .cell-insight {
            line-height: 1.55;
            word-break: keep-all;
        }

        .dashboard-section .top-stock-signal-trigger {
            appearance: none;
            -webkit-appearance: none;
            border: none;
            cursor: pointer;
        }

        .dashboard-section .top-stock-signal-trigger:hover,
        .dashboard-section .top-stock-signal-trigger:focus-visible {
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(44, 62, 80, 0.10);
            outline: none;
        }

        .dashboard-section .monthly-radar-table th:nth-child(1),
        .dashboard-section .monthly-radar-table td:nth-child(1) {
            width: 7%;
            min-width: 0;
            text-align: center;
        }

        .dashboard-section .monthly-radar-table th:nth-child(2),
        .dashboard-section .monthly-radar-table td:nth-child(2) {
            width: 7%;
            min-width: 0;
            text-align: center;
        }

        .dashboard-section .monthly-radar-table th:nth-child(3),
        .dashboard-section .monthly-radar-table td:nth-child(3) {
            width: 8%;
            min-width: 0;
        }

        .dashboard-section .monthly-radar-table th:nth-child(4),
        .dashboard-section .monthly-radar-table td:nth-child(4) {
            width: 8%;
            min-width: 0;
            text-align: center;
        }

        .dashboard-section .monthly-radar-table th:nth-child(5),
        .dashboard-section .monthly-radar-table td:nth-child(5) {
            width: 5%;
            min-width: 0;
            text-align: right;
        }

        .dashboard-section .monthly-radar-table th:nth-child(6),
        .dashboard-section .monthly-radar-table td:nth-child(6) {
            width: 5%;
            min-width: 0;
            text-align: right;
        }

        .dashboard-section .monthly-radar-table th:nth-child(7),
        .dashboard-section .monthly-radar-table td:nth-child(7) {
            width: 5%;
            min-width: 0;
            text-align: right;
        }

        .dashboard-section .monthly-radar-table th:nth-child(8),
        .dashboard-section .monthly-radar-table td:nth-child(8) {
            width: 6%;
            min-width: 0;
            text-align: right;
        }

        .dashboard-section .monthly-radar-table th:nth-child(9),
        .dashboard-section .monthly-radar-table td:nth-child(9) {
            width: 8%;
            min-width: 0;
        }

        .dashboard-section .monthly-radar-table th:nth-child(10),
        .dashboard-section .monthly-radar-table td:nth-child(10) {
            width: 10%;
            min-width: 0;
        }

        .dashboard-section .monthly-radar-table th:nth-child(11),
        .dashboard-section .monthly-radar-table td:nth-child(11) {
            width: 13%;
            min-width: 0;
            max-width: none;
            overflow: hidden;
        }

        .dashboard-section .monthly-radar-table th:nth-child(12),
        .dashboard-section .monthly-radar-table td:nth-child(12) {
            width: 18%;
            min-width: 0;
            line-height: 1.55;
        }

        .dashboard-section .radar-strength-chip {
            display: inline-flex;
            align-items: center;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(47, 76, 102, 0.08);
            color: var(--text-dark);
            font-size: 12px;
            font-weight: 800;
            white-space: nowrap;
        }

        .dashboard-section .radar-strength-chip.included {
            background: rgba(168, 213, 186, 0.20);
            color: #25634a;
        }

        .dashboard-section .radar-strength-chip.excluded {
            background: rgba(212, 175, 150, 0.20);
            color: #8a4f2d;
        }

        .dashboard-section .radar-ai-card {
            border-radius: 16px;
            border: 1px solid rgba(203, 217, 234, 0.92);
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 14px 34px rgba(15, 35, 62, 0.07);
            overflow: hidden;
        }

        .dashboard-section .radar-ai-card .radar-title {
            font-size: 18px;
            line-height: 1.35;
            font-weight: 700;
            color: #09203f;
            border-bottom: 2px solid var(--neutral-mid);
            padding-bottom: 16px;
            margin-bottom: 20px;
        }

        .dashboard-section .radar-ai-card .table-guide-note {
            margin: -6px 0 16px;
            padding: 12px 16px;
            border-radius: 10px;
            border: 1px solid #cfe0f6;
            background: #f8fbff;
            color: #16304f;
            font-size: 13px;
            line-height: 1.55;
            font-weight: 700;
        }

        .dashboard-section .radar-ai-card .radar-insight-grid {
            gap: 16px;
            margin-bottom: 20px;
        }

        .dashboard-section .radar-summary-card {
            min-height: 108px;
            display: grid;
            grid-template-columns: 46px minmax(0, 1fr) 62px 18px;
            align-items: center;
            gap: 12px;
            padding: 14px 14px;
            border-radius: 12px;
            border-color: #dce6f2;
            background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
        }

        .dashboard-section .radar-summary-icon {
            width: 46px;
            height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            color: #07934b;
            background: #e9f8ef;
        }

        .dashboard-section .radar-summary-icon svg {
            width: 26px;
            height: 26px;
        }

        .dashboard-section .radar-summary-card.tone-blue .radar-summary-icon {
            color: #0b6cff;
            background: #eaf3ff;
        }

        .dashboard-section .radar-summary-card.tone-purple .radar-summary-icon {
            color: #6f3de7;
            background: #f1e7ff;
        }

        .dashboard-section .radar-summary-copy {
            min-width: 0;
        }

        .dashboard-section .radar-summary-card .radar-insight-label {
            margin-bottom: 5px;
            color: #4c6179;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0;
            text-transform: none;
        }

        .dashboard-section .radar-summary-card .radar-insight-value {
            color: #09203f;
            font-size: 16px;
            line-height: 1.28;
            font-weight: 900;
        }

        .dashboard-section .radar-summary-card p {
            margin: 6px 0 0;
            color: #4d6077;
            font-size: 12px;
            line-height: 1.5;
            font-weight: 700;
        }

        .dashboard-section .radar-summary-card em {
            display: block;
            margin-top: 5px;
            color: #6a7c91;
            font-size: 11px;
            line-height: 1.35;
            font-style: normal;
            font-weight: 800;
        }

        .dashboard-section .radar-summary-action {
            align-self: center;
            justify-self: center;
        }

        .dashboard-section .radar-summary-action .ai-quote-btn {
            width: 58px;
            min-width: 58px;
            margin: 0;
        }

        .dashboard-section .radar-summary-badge {
            display: inline-flex;
            vertical-align: middle;
            margin-left: 8px;
            padding: 5px 12px;
            border-radius: 999px;
            background: #00a74f;
            color: #fff;
            font-size: 11px;
            font-weight: 900;
        }

        .dashboard-section .radar-summary-chevron {
            color: #355b88;
            font-size: 20px;
            font-weight: 300;
        }

        .dashboard-section .radar-ai-card .radar-filter-shell {
            margin: 0;
            padding: 0;
            border-radius: 14px 14px 0 0;
            border: 1px solid #dce6f2;
            border-bottom: 0;
            background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
            box-shadow: none;
            overflow: hidden;
        }

        .dashboard-section .radar-ai-card .radar-filter-row {
            display: grid;
            grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
            gap: 0;
        }

        .dashboard-section .radar-ai-card .radar-filter-group {
            min-width: 0;
            padding: 16px 18px;
        }

        .dashboard-section .radar-ai-card .radar-filter-group + .radar-filter-group {
            border-left: 1px solid #dce6f2;
        }

        .dashboard-section .radar-ai-card .radar-filter-label {
            margin-bottom: 8px;
            color: #09203f;
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0;
            text-transform: none;
        }

        .dashboard-section .radar-ai-card .radar-segmented-control {
            padding: 3px;
            border-radius: 9px;
            border: 1px solid #dce6f2;
            background: #f2f5f8;
        }

        .dashboard-section .radar-ai-card .radar-segment {
            min-width: 86px;
            min-height: 34px;
            padding: 0 12px;
            border-radius: 8px;
            color: #213b5a;
            font-size: 12px;
            font-weight: 900;
        }

        .dashboard-section .radar-ai-card .radar-segment.active {
            background: #0d2d55;
            color: #fff;
            box-shadow: 0 8px 14px rgba(16, 35, 64, 0.18);
        }

        .dashboard-section .radar-ai-card .radar-filter-summary {
            margin: 0;
            padding: 0 18px 16px;
            border-top: 0;
        }

        .dashboard-section .radar-ai-card .radar-filter-summary-main {
            display: none;
        }

        .dashboard-section .radar-ai-card .radar-filter-summary-sub {
            color: #243c5b;
            font-size: 12px;
            line-height: 1.6;
            font-weight: 800;
        }

        .dashboard-section .radar-table-scroll {
            overflow-x: auto;
            border: 1px solid #dce6f2;
            border-radius: 0 0 14px 14px;
        }

        .dashboard-section .radar-ai-card .monthly-radar-table {
            min-width: 1280px;
            table-layout: auto;
            box-shadow: none;
            border-radius: 0;
        }

        .dashboard-section .radar-ai-card .monthly-radar-table thead {
            background: linear-gradient(180deg, #0d2d55 0%, #092442 100%);
        }

        .dashboard-section .radar-ai-card .monthly-radar-table th {
            height: 42px;
            padding: 12px 7px;
            color: #fff;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0;
            text-transform: none;
            text-align: center;
            white-space: nowrap;
        }

        .dashboard-section .radar-ai-card .monthly-radar-table td {
            height: 70px;
            padding: 12px 7px;
            border-bottom: 1px solid #e7edf5;
            color: #10243f;
            font-size: 12px;
            font-weight: 800;
            text-align: center;
            vertical-align: middle;
        }

        .dashboard-section .radar-ai-card .monthly-radar-table th,
        .dashboard-section .radar-ai-card .monthly-radar-table td {
            width: auto;
            min-width: 0;
        }

        .dashboard-section .radar-ai-card .monthly-radar-table .cell-name {
            text-align: left;
            min-width: 136px;
        }

        .dashboard-section .radar-ai-card .monthly-radar-table .cell-date {
            text-align: center;
        }

        .dashboard-section .radar-rank-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #f3f6fa;
            color: #64748b;
            font-size: 14px;
            font-weight: 900;
        }

        .dashboard-section .radar-rank-badge.gold {
            background: #ffd764;
            color: #8a5a00;
            box-shadow: inset 0 -5px 0 rgba(188, 121, 0, 0.18);
        }

        .dashboard-section .radar-rank-badge.silver {
            background: #e2e8f0;
            color: #475569;
            box-shadow: inset 0 -5px 0 rgba(71, 85, 105, 0.16);
        }

        .dashboard-section .radar-rank-badge.bronze {
            background: #f5ad72;
            color: #8f3f10;
            box-shadow: inset 0 -5px 0 rgba(143, 63, 16, 0.15);
        }

        .dashboard-section .radar-stock-cell strong {
            display: block;
            margin-bottom: 7px;
            font-size: 12px;
            line-height: 1.25;
            font-weight: 900;
        }

        .dashboard-section .radar-stock-status {
            display: inline-flex;
            min-height: 24px;
            align-items: center;
            padding: 0 9px;
            border-radius: 999px;
            background: #ecf5ff;
            color: #0b6cff;
            font-size: 11px;
            font-weight: 900;
        }

        .dashboard-section .radar-ai-interest strong,
        .dashboard-section .radar-exposure strong,
        .dashboard-section .radar-weight-flow strong,
        .dashboard-section .radar-market-reaction strong {
            display: block;
            margin-bottom: 5px;
            font-weight: 900;
        }

        .dashboard-section .radar-ai-interest strong,
        .dashboard-section .radar-exposure strong,
        .dashboard-section .radar-weight-flow.positive strong,
        .dashboard-section .radar-market-reaction strong {
            color: #07934b;
        }

        .dashboard-section .radar-weight-flow.negative strong {
            color: #ef3434;
        }

        .dashboard-section .radar-ai-dots {
            display: inline-flex;
            gap: 6px;
            align-items: center;
            justify-content: center;
        }

        .dashboard-section .radar-ai-dots i {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #c8d3e2;
        }

        .dashboard-section .radar-ai-dots.green i.on {
            background: #12aa57;
        }

        .dashboard-section .radar-ai-dots.blue i.on {
            background: #0b6cff;
        }

        .dashboard-section .radar-ai-dots.gray i.on {
            background: #7b8796;
        }

        .dashboard-section .radar-theme-chips {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 6px;
            min-width: 150px;
        }

        .dashboard-section .radar-theme-chips span {
            display: inline-flex;
            min-height: 24px;
            align-items: center;
            padding: 0 9px;
            border-radius: 999px;
            background: #eff3f7;
            color: #42526a;
            font-size: 11px;
            font-weight: 900;
        }

        .dashboard-section .radar-ai-comment {
            min-width: 230px;
            text-align: left !important;
            line-height: 1.65;
            color: #263f5f;
            font-size: 12px;
        }

        .dashboard-section .radar-ai-comment .ai-comment {
            padding: 0;
            background: transparent;
            border: 0;
            color: inherit;
            box-shadow: none;
        }

        .dashboard-section .radar-row-open {
            color: #355b88 !important;
            font-size: 22px !important;
            font-weight: 300 !important;
        }

        .dashboard-section .radar-type-chip.neutral,
        .dashboard-section .radar-strength-chip.neutral {
            background: rgba(47, 76, 102, 0.10);
            color: var(--text-dark);
        }

        .dashboard-section .rep-group-tooltip {
            position: relative;
            display: inline-flex;
        }

        .dashboard-section .rep-group-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(47, 76, 102, 0.08);
            border: 1px solid rgba(47, 76, 102, 0.14);
            color: var(--text-dark);
            font-size: 11px;
            font-weight: 700;
            line-height: 1.4;
            cursor: pointer;
            white-space: nowrap;
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
        }

        .dashboard-section .rep-group-trigger {
            appearance: none;
            -webkit-appearance: none;
            background: rgba(47, 76, 102, 0.08);
        }

        .dashboard-section .rep-group-trigger:hover,
        .dashboard-section .rep-group-trigger:focus-visible {
            border-color: rgba(47, 76, 102, 0.28);
            box-shadow: 0 10px 22px rgba(44, 62, 80, 0.10);
            transform: translateY(-1px);
            outline: none;
        }

        .rep-ad-stage {
            display: grid;
            gap: 16px;
        }

        .rep-ad-progress {
            width: 100%;
            height: 8px;
            border-radius: 999px;
            background: rgba(47, 76, 102, 0.10);
            overflow: hidden;
        }

        .rep-ad-progress-bar {
            display: block;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
            transform-origin: left center;
            animation: repAdCountdown 2.2s linear forwards;
        }

        @keyframes repAdCountdown {
            from {
                transform: scaleX(0);
            }
            to {
                transform: scaleX(1);
            }
        }

        .rep-ad-stage-copy,
        .rep-ad-footnote {
            font-size: 13px;
            line-height: 1.7;
            color: var(--text-dark);
        }

        .rep-ad-shell {
            min-height: 260px;
            padding: 18px;
            border-radius: 18px;
            border: 1px dashed rgba(47, 76, 102, 0.22);
            background:
                linear-gradient(135deg, rgba(166, 197, 216, 0.10), rgba(212, 175, 150, 0.10)),
                white;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .rep-ad-slot {
            width: 100%;
            min-height: 250px;
        }

        .rep-ad-placeholder {
            width: min(100%, 480px);
            display: grid;
            gap: 8px;
            padding: 22px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.86);
            border: 1px solid rgba(47, 76, 102, 0.16);
            text-align: center;
            color: var(--text-dark);
            line-height: 1.6;
        }

        .rep-modal-summary {
            margin-bottom: 18px;
            padding: 16px 18px;
            border-radius: 16px;
            background: rgba(47, 76, 102, 0.06);
            border: 1px solid rgba(47, 76, 102, 0.12);
        }

        .rep-modal-summary-kicker {
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .rep-modal-summary-copy {
            font-size: 13px;
            line-height: 1.7;
            color: var(--text-dark);
        }

        .rep-modal-section + .rep-modal-section {
            margin-top: 18px;
        }

        .rep-modal-section-title {
            font-size: 16px;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .rep-modal-list {
            display: grid;
            gap: 10px;
        }

        .rep-modal-list-item {
            display: grid;
            grid-template-columns: 32px 1fr auto;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            border-radius: 14px;
            background: var(--bg-light);
            border: 1px solid var(--neutral-mid);
        }

        .rep-modal-rank,
        .rep-example-rank {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 28px;
            height: 28px;
            border-radius: 999px;
            background: rgba(212, 175, 150, 0.18);
            color: var(--text-dark);
            font-size: 11px;
            font-weight: 800;
        }

        .rep-modal-label,
        .rep-example-name {
            color: var(--text-dark);
            font-size: 13px;
            font-weight: 700;
        }

        .rep-modal-value {
            color: var(--primary-dark);
            font-size: 13px;
            font-weight: 800;
        }

        .rep-modal-empty {
            padding: 16px;
            border-radius: 14px;
            background: var(--bg-light);
            border: 1px solid var(--neutral-mid);
            font-size: 13px;
            color: var(--text-light);
        }

        .rep-example-grid {
            display: grid;
            gap: 10px;
        }

        .rep-example-card {
            padding: 14px;
            border-radius: 14px;
            background: var(--bg-light);
            border: 1px solid var(--neutral-mid);
        }

        .rep-example-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 10px;
        }

        .rep-example-group {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 999px;
            background: rgba(168, 213, 186, 0.18);
            color: var(--text-dark);
            font-size: 11px;
            font-weight: 800;
        }

        .rep-example-meta {
            margin-top: 6px;
            font-size: 12px;
            color: var(--text-light);
        }

        .dashboard-section .rep-group-popover {
            position: absolute;
            left: 0;
            top: calc(100% + 10px);
            z-index: 20;
            min-width: 220px;
            max-width: 280px;
            padding: 12px 12px 10px;
            border-radius: 14px;
            background: rgba(19, 31, 43, 0.96);
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 16px 30px rgba(19, 31, 43, 0.24);
            opacity: 0;
            visibility: hidden;
            transform: translateY(6px);
            transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
            pointer-events: none;
        }

        .dashboard-section .rep-group-popover::before {
            content: '';
            position: absolute;
            left: 18px;
            top: -6px;
            width: 12px;
            height: 12px;
            background: rgba(19, 31, 43, 0.96);
            border-left: 1px solid rgba(255, 255, 255, 0.08);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            transform: rotate(45deg);
        }

        .dashboard-section .rep-group-tooltip:hover .rep-group-popover,
        .dashboard-section .rep-group-tooltip:focus-within .rep-group-popover {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dashboard-section .rep-group-popover-title {
            color: rgba(255, 255, 255, 0.92);
            font-size: 12px;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .dashboard-section .rep-group-popover-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 6px;
        }

        .dashboard-section .rep-group-popover-item {
            display: grid;
            grid-template-columns: 18px 1fr auto;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, 0.86);
            font-size: 12px;
        }

        .dashboard-section .rep-group-popover-rank {
            color: rgba(255, 255, 255, 0.5);
            font-size: 11px;
        }

        .dashboard-section .rep-group-popover-label {
            color: rgba(255, 255, 255, 0.88);
        }

        .dashboard-section .rep-group-popover-value {
            color: #f7e5be;
            font-size: 12px;
        }

        .dashboard-section .rep-group-popover-empty {
            color: rgba(255, 255, 255, 0.78);
            font-size: 12px;
            line-height: 1.5;
        }

        .dashboard-section .etf-top-table {
            margin-bottom: 32px;
        }

        .dashboard-section .stock-favorite {
            background: none;
            border: none;
            font-size: 16px;
            cursor: pointer;
            padding: 4px;
        }

        .dashboard-section .stock-rank {
            font-weight: 700;
            font-size: 12px;
            text-align: center;
        }

        .dashboard-section .stock-name {
            font-weight: 600;
        }

        .dashboard-section .metric-positive {
            color: var(--accent-green);
            font-weight: 600;
        }

        .dashboard-section .metric-negative {
            color: var(--accent-red);
            font-weight: 600;
        }

        .dashboard-section .radar-type-chip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 48px;
            padding: 5px 10px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 700;
            border: 1px solid transparent;
        }

        .dashboard-section .radar-type-chip.included {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2) 0%, rgba(168, 213, 186, 0.1) 100%);
            color: var(--accent-green);
            border-color: rgba(168, 213, 186, 0.38);
        }

        .dashboard-section .radar-type-chip.excluded {
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.22) 0%, rgba(245, 201, 163, 0.12) 100%);
            color: var(--accent-orange);
            border-color: rgba(245, 201, 163, 0.45);
        }

        .dashboard-section .radar-more-btn {
            border: 1px solid var(--neutral-mid);
            background: var(--bg-light);
            color: var(--text-dark);
            border-radius: 999px;
            padding: 6px 12px;
            font-size: 11px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .dashboard-section .radar-more-btn:hover {
            border-color: var(--accent-gold);
            background: rgba(212, 175, 150, 0.12);
        }

        .dashboard-section .etf-composition-card {
            overflow: hidden;
        }

        .dashboard-section .etf-composition-description {
            margin-bottom: 18px;
        }

        .dashboard-section .etf-composition-toolbar {
            display: flex;
            justify-content: space-between;
            align-items: end;
            gap: 20px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .dashboard-section .etf-composition-search {
            flex: 1 1 520px;
        }

        .dashboard-section .etf-composition-search-label,
        .dashboard-section .etf-composition-summary-label,
        .dashboard-section .etf-composition-panel-title {
            font-size: 12px;
            font-weight: 700;
            color: var(--text-light);
            text-transform: uppercase;
            letter-spacing: 0.6px;
        }

        .dashboard-section .etf-composition-search-row {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-top: 10px;
        }

        .dashboard-section .etf-composition-search {
            position: relative;
        }

        .dashboard-section .etf-composition-input {
            flex: 1 1 auto;
            height: 44px;
            border-radius: 12px;
            border: 1px solid var(--neutral-mid);
            background: white;
            color: var(--text-dark);
            padding: 0 16px;
            font-size: 14px;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            ime-mode: active;
        }

        .dashboard-section .etf-composition-input:focus {
            outline: none;
            border-color: var(--accent-gold);
            box-shadow: 0 0 0 3px rgba(212, 175, 150, 0.18);
        }

        .dashboard-section .etf-composition-input.error {
            border-color: var(--accent-red);
            box-shadow: 0 0 0 3px rgba(200, 95, 81, 0.15);
        }

        .dashboard-section .etf-composition-button {
            min-width: 88px;
            justify-content: center;
        }

        .dashboard-section .tracker-autocomplete-list {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            z-index: 20;
            width: min(460px, calc(100% - 120px));
            max-height: 280px;
            overflow-y: auto;
            padding: 8px;
            border-radius: 18px;
            border: 1px solid rgba(212, 175, 150, 0.28);
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 24px 38px rgba(34, 52, 77, 0.14);
            backdrop-filter: blur(14px);
        }

        .dashboard-section .tracker-autocomplete-list[hidden] {
            display: none !important;
        }

        .dashboard-section .tracker-autocomplete-option {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: center;
            gap: 14px;
            width: 100%;
            padding: 12px 14px;
            border: 1px solid transparent;
            border-radius: 12px;
            background: rgba(248, 244, 238, 0.72);
            color: var(--text-dark);
            cursor: pointer;
            transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
        }

        .dashboard-section .tracker-autocomplete-option + .tracker-autocomplete-option {
            margin-top: 6px;
        }

        .dashboard-section .tracker-autocomplete-option:hover {
            border-color: rgba(212, 175, 150, 0.3);
            background: rgba(255, 255, 255, 0.92);
        }

        .dashboard-section .tracker-autocomplete-option.is-active {
            border-color: rgba(212, 175, 150, 0.46);
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 8px 16px rgba(34, 52, 77, 0.08);
            transform: translateY(-1px);
        }

        .dashboard-section .tracker-autocomplete-list[data-navigation-mode="keyboard"] .tracker-autocomplete-option:hover {
            border-color: transparent;
            background: rgba(248, 244, 238, 0.72);
            box-shadow: none;
            transform: none;
        }

        .dashboard-section .tracker-autocomplete-option-name {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .dashboard-section .tracker-autocomplete-option-code,
        .dashboard-section .tracker-autocomplete-code {
            font-size: 12px;
            font-weight: 700;
            color: var(--text-light);
            letter-spacing: 0.4px;
        }

        .dashboard-section .tracker-autocomplete-empty {
            padding: 14px 16px;
            border-radius: 12px;
            background: rgba(248, 244, 238, 0.72);
            font-size: 13px;
            font-weight: 600;
            color: var(--text-light);
        }

        .dashboard-section .etf-composition-summary {
            min-width: 240px;
            padding: 12px 14px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.12) 0%, rgba(212, 175, 150, 0.04) 100%);
            border: 1px solid rgba(212, 175, 150, 0.28);
        }

        .dashboard-section .etf-composition-summary-value,
        .dashboard-section .etf-composition-chart-title {
            margin-top: 6px;
            font-size: 18px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .dashboard-section .etf-composition-layout {
            display: grid;
            grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.45fr);
            gap: 20px;
        }

        .dashboard-section .etf-composition-list-panel,
        .dashboard-section .etf-composition-chart-panel {
            border: 1px solid var(--neutral-mid);
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 240, 0.92) 100%);
            padding: 18px;
        }

        .dashboard-section .etf-composition-panel-head {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: start;
            margin-bottom: 20px;
            padding-bottom: 6px;
        }

        .dashboard-section .etf-composition-stock-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-height: 520px;
            overflow-y: auto;
            margin-top: 6px;
            padding-top: 8px;
            padding-right: 4px;
        }

        .dashboard-section .etf-composition-stock-item {
            width: 100%;
            text-align: left;
            border-radius: 14px;
            border: 1px solid var(--neutral-mid);
            background: white;
            padding: 14px 16px;
            cursor: pointer;
            transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        .dashboard-section .etf-composition-stock-item:hover,
        .dashboard-section .etf-composition-stock-item.active {
            border-color: rgba(44, 89, 131, 0.32);
            box-shadow: 0 10px 18px rgba(44, 89, 131, 0.08);
            transform: translateY(-1px);
        }

        .dashboard-section .etf-composition-stock-top,
        .dashboard-section .etf-composition-stock-metrics,
        .dashboard-section .etf-composition-chart-header {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: center;
        }

        .dashboard-section .etf-composition-stock-name {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .dashboard-section .etf-composition-stock-code {
            font-size: 12px;
            color: var(--text-light);
            margin-top: 4px;
            font-family: "Courier New", monospace;
        }

        .dashboard-section .etf-composition-rank-chip {
            min-width: 58px;
            text-align: center;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(44, 89, 131, 0.08);
            color: var(--primary);
            font-size: 12px;
            font-weight: 700;
        }

        .dashboard-section .etf-composition-stock-metrics {
            margin-top: 10px;
            font-size: 12px;
            color: var(--text-light);
        }

        .dashboard-section .etf-composition-legend {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            font-size: 12px;
            color: var(--text-light);
        }

        .dashboard-section .etf-composition-legend span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .dashboard-section .etf-composition-legend i {
            width: 16px;
            height: 4px;
            border-radius: 999px;
            display: inline-block;
        }

        .dashboard-section .legend-rank {
            background: var(--primary);
        }

        .dashboard-section .legend-weight {
            background: var(--accent-gold);
        }

        .dashboard-section .legend-weight-average {
            background: rgba(212, 175, 150, 0.72);
        }

        .dashboard-section .legend-return {
            background: var(--accent-green);
        }

        .dashboard-section .legend-return-average {
            background: rgba(44, 89, 131, 0.72);
        }

        .dashboard-section .legend-baseline {
            background: rgba(60, 70, 82, 0.28);
        }

        .dashboard-section .etf-composition-chart-stats {
            display: flex;
            gap: 16px;
            text-align: right;
            flex-wrap: wrap;
        }

        .dashboard-section .etf-composition-chart-stats span {
            display: block;
            font-size: 11px;
            color: var(--text-light);
            margin-bottom: 4px;
        }

        .dashboard-section .etf-composition-chart-stats strong {
            font-size: 14px;
            color: var(--text-dark);
        }

        .dashboard-section .etf-composition-chart-wrap {
            margin-top: 18px;
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid rgba(44, 89, 131, 0.1);
            background: linear-gradient(180deg, rgba(248, 245, 240, 0.72) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .etf-composition-chart {
            width: 100%;
            height: 428px;
            display: block;
        }

        .dashboard-section .etf-composition-chart text {
            text-rendering: optimizeLegibility;
            font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
            font-weight: 700;
            letter-spacing: -0.01em;
            stroke: none;
            paint-order: normal;
        }

        .tracker-chart-bg {
            fill: transparent;
        }

        .tracker-grid-line {
            stroke: rgba(44, 89, 131, 0.1);
            stroke-width: 1;
        }

        .tracker-rank-line,
        .tracker-weight-line {
            fill: none;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .tracker-rank-line,
        .tracker-rank-dot {
            stroke: var(--primary);
            fill: var(--primary);
        }

        .tracker-rank-connector {
            stroke: rgba(44, 89, 131, 0.22);
            stroke-width: 2;
            stroke-dasharray: 5 5;
        }

        .tracker-rank-band {
            fill: rgba(44, 89, 131, 0.05);
            stroke: rgba(44, 89, 131, 0.12);
            stroke-width: 1;
        }

        .tracker-rank-trend-line {
            fill: none;
            stroke-width: 2.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .tracker-rank-trend-line-up {
            stroke: #d94b5a;
        }

        .tracker-rank-trend-line-down {
            stroke: #3f6db5;
        }

        .tracker-rank-trend-outline {
            fill: none;
            stroke: rgba(44, 89, 131, 0.16);
            stroke-width: 1;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .tracker-rank-change-dot {
            fill: white;
            stroke-width: 2;
        }

        .tracker-rank-change-label {
            font-size: 12px;
            font-weight: 800;
        }

        .tracker-rank-change-dot-up,
        .tracker-rank-change-label-up,
        .tracker-rank-label-up {
            stroke: #d94b5a;
            fill: #d94b5a;
        }

        .tracker-rank-change-dot-down,
        .tracker-rank-change-label-down,
        .tracker-rank-label-down {
            stroke: #3f6db5;
            fill: #3f6db5;
        }

        .tracker-rank-pill {
            fill: rgba(44, 89, 131, 0.08);
            stroke: rgba(44, 89, 131, 0.18);
            stroke-width: 1;
        }

        .tracker-rank-pill-value {
            font-size: 12px;
            fill: var(--primary);
            font-weight: 800;
        }

        .tracker-rank-pill-date,
        .tracker-rank-pill-delta,
        .tracker-rank-title {
            fill: #8ca0b3;
            font-size: 13px;
            font-weight: 800;
        }

        .tracker-rank-pill-delta {
            fill: var(--text-dark);
            font-weight: 700;
        }

        .tracker-rank-divider {
            stroke: rgba(44, 89, 131, 0.14);
            stroke-width: 1;
        }

        .tracker-weight-line,
        .tracker-weight-dot {
            stroke: var(--accent-gold);
            fill: var(--accent-gold);
        }

        .tracker-weight-line {
            stroke-width: 3.2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .tracker-weight-line-up {
            stroke: #d94b5a;
        }

        .tracker-weight-line-down {
            stroke: #3f6db5;
        }

        .tracker-weight-line-outline {
            fill: none;
            stroke: rgba(44, 89, 131, 0.18);
            stroke-width: 1;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .tracker-weight-area {
            fill: url(#trackerWeightGradient);
            opacity: 0.9;
        }

        .tracker-weight-average-line {
            fill: none;
            stroke: rgba(212, 175, 150, 0.72);
            stroke-width: 2.2;
            stroke-dasharray: 7 6;
            stroke-linecap: round;
        }

        .tracker-return-line,
        .tracker-return-dot {
            stroke: var(--accent-green);
            fill: var(--accent-green);
        }

        .tracker-return-line {
            fill: none;
            stroke-width: 3.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .tracker-return-area {
            fill: url(#trackerReturnGradient);
            opacity: 0.92;
        }

        .tracker-return-average-line {
            fill: none;
            stroke: rgba(44, 89, 131, 0.65);
            stroke-width: 2.2;
            stroke-dasharray: 7 6;
            stroke-linecap: round;
        }

        .tracker-baseline {
            stroke: rgba(60, 70, 82, 0.24);
            stroke-width: 1.5;
            stroke-dasharray: 6 6;
        }

        .tracker-peak-dot {
            fill: var(--accent-gold);
            stroke: white;
            stroke-width: 2;
        }

        .tracker-trough-dot {
            fill: var(--accent-red);
            stroke: white;
            stroke-width: 2;
        }

        .tracker-marker-label {
            fill: #243b53;
            font-size: 13px;
            font-weight: 800;
        }

        .tracker-current-label {
            fill: var(--accent-green);
        }

        .tracker-rank-label {
            font-weight: 800;
        }

        .tracker-axis-label {
            fill: #8797a8;
            font-size: 13px;
            font-weight: 700;
        }

        .tracker-date-label {
            font-size: 12px;
            fill: #6b7d94;
            font-weight: 800;
        }

        .tracker-date-label {
            font-size: 12px;
            font-weight: 700;
        }

        .radar-modal-meta {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            margin-bottom: 20px;
        }

        .radar-modal-meta > div {
            padding: 12px 14px;
            border-radius: 12px;
            border: 1px solid var(--neutral-mid);
            background: var(--bg-light);
            color: var(--text-dark);
            font-size: 13px;
        }

        .dashboard-section .checkpoint-card {
            padding: 20px;
            border-left: 4px solid;
        }

        .dashboard-section .checkpoint-card.critical {
            border-left-color: var(--accent-orange);
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.05) 0%, var(--bg-light) 100%);
        }

        .dashboard-section .checkpoint-card.info {
            border-left-color: var(--accent-blue);
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.05) 0%, var(--bg-light) 100%);
        }

        .dashboard-section .checkpoint-label,
        .dashboard-section .decision-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-light);
        }

        .dashboard-section .checkpoint-label {
            margin-bottom: 8px;
        }

        .dashboard-section .checkpoint-content {
            font-size: 12px;
            color: var(--text-dark);
            line-height: 1.6;
            font-weight: 500;
        }

        .dashboard-section .decision-card {
            padding: 22px;
            text-align: left;
            border: 1px solid rgba(27, 53, 81, 0.12);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 252, 0.94) 100%);
            box-shadow: 0 18px 40px rgba(21, 37, 60, 0.08);
        }

        .dashboard-section .decision-summary-bar {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
            margin: 18px 0 14px;
        }

        .dashboard-section .decision-actions {
            display: flex;
            justify-content: flex-end;
            margin: -2px 0 16px;
        }

        .dashboard-section .decision-disclaimer-note {
            margin: 14px 0 4px;
            padding: 12px 14px;
            border-radius: 12px;
            background: rgba(47, 76, 102, 0.06);
            border: 1px solid rgba(47, 76, 102, 0.12);
        }

        .dashboard-section .decision-summary-pill {
            display: flex;
            flex-direction: column;
            gap: 6px;
            padding: 16px 18px;
            border-radius: 14px;
            border: 1px solid rgba(27, 53, 81, 0.12);
            background: linear-gradient(135deg, rgba(249, 252, 255, 0.98) 0%, rgba(240, 246, 248, 0.98) 100%);
        }

        .dashboard-section .decision-summary-label {
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-light);
        }

        .dashboard-section .decision-summary-value {
            font-size: 17px;
            line-height: 1.45;
            color: var(--text-dark);
        }

        .dashboard-section .decision-evidence-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
            margin-bottom: 18px;
        }

        .dashboard-section .decision-evidence-card {
            padding: 18px;
            border-radius: 16px;
            border: 1px solid rgba(27, 53, 81, 0.1);
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 12px 28px rgba(21, 37, 60, 0.06);
            cursor: pointer;
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
        }

        .dashboard-section .decision-evidence-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 32px rgba(21, 37, 60, 0.1);
            border-color: rgba(27, 53, 81, 0.18);
        }

        .dashboard-section .decision-evidence-card.tone-positive {
            border-color: rgba(34, 128, 84, 0.18);
            background: linear-gradient(180deg, rgba(241, 252, 246, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .decision-evidence-card.tone-warning {
            border-color: rgba(202, 116, 56, 0.22);
            background: linear-gradient(180deg, rgba(255, 247, 241, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .decision-evidence-label {
            font-size: 12px;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .dashboard-section .decision-evidence-value {
            font-size: 14px;
            line-height: 1.7;
            color: var(--text-dark);
            font-weight: 700;
        }

        .dashboard-section .decision-card h4 {
            margin: 0 0 12px;
            font-size: 14px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .dashboard-section .decision-card p {
            margin: 0;
            font-size: 14px;
            line-height: 1.8;
            color: var(--text-dark);
        }

        .dashboard-section .decision-card-positive {
            border-top: 4px solid #2f9b61;
            background: linear-gradient(180deg, rgba(244, 252, 247, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .decision-card-risk {
            border-top: 4px solid #d17b40;
            background: linear-gradient(180deg, rgba(255, 248, 242, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .decision-card-action {
            border-top: 4px solid #4a7cb3;
            background: linear-gradient(180deg, rgba(244, 248, 253, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        .dashboard-section .decision-card-conclusion {
            border-top: 4px solid #2a415d;
            background: linear-gradient(180deg, rgba(247, 250, 253, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
        }

        @media (max-width: 1400px) {
            .dashboard-section .recommended-etf-grid,
            .dashboard-section .decision-grid,
            .dashboard-section .strategy-result-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .dashboard-section .decision-evidence-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 1024px) {
            .dashboard-section .recommended-etf-grid,
            .dashboard-section .strategy-result-grid,
            .dashboard-section .checkpoint-grid,
            .dashboard-section .etf-composition-layout {
                grid-template-columns: 1fr;
            }

            .dashboard-section .ai-summary-highlights,
            .dashboard-section .decision-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .dashboard-section .decision-summary-bar,
            .dashboard-section .decision-evidence-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .dashboard-section .ai-summary-highlights,
            .dashboard-section .decision-grid {
                grid-template-columns: 1fr;
            }

            .dashboard-section .radar-ai-card .radar-insight-grid,
            .dashboard-section .radar-ai-card .radar-filter-row {
                grid-template-columns: 1fr;
            }

            .dashboard-section .radar-ai-card .radar-filter-group + .radar-filter-group {
                border-left: 0;
                border-top: 1px solid #dce6f2;
            }

            .dashboard-section .radar-summary-card {
                grid-template-columns: 46px minmax(0, 1fr) 62px;
                min-height: auto;
            }

            .dashboard-section .radar-summary-icon {
                width: 52px;
                height: 52px;
            }

            .dashboard-section .radar-summary-chevron {
                display: none;
            }

            .dashboard-section .radar-ai-card .radar-segmented-control {
                width: 100%;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .dashboard-section .radar-ai-card .radar-segment {
                min-width: 0;
            }

            .dashboard-section .ai-summary-text {
                font-size: 16px;
                line-height: 1.7;
                padding-left: 14px;
            }

            .dashboard-section .ai-summary-signal-row {
                grid-template-columns: 1fr;
            }

            .dashboard-section .dashboard-highlight-shell {
                flex-direction: column;
                align-items: flex-start;
                gap: 14px;
            }

            .dashboard-section .dashboard-highlight-icon {
                width: 52px;
                height: 52px;
            }

            .dashboard-section .dashboard-disclaimer-banner {
                padding: 16px;
                align-items: flex-start;
            }

            .dashboard-section .dashboard-reference-footnote {
                align-items: flex-start;
            }

            .dashboard-section .decision-summary-bar,
            .dashboard-section .decision-evidence-grid {
                grid-template-columns: 1fr;
            }

            .dashboard-section .decision-actions {
                justify-content: stretch;
            }

            .dashboard-section .etf-composition-search-row,
            .dashboard-section .etf-composition-chart-header,
            .dashboard-section .etf-composition-stock-top,
            .dashboard-section .etf-composition-stock-metrics {
                flex-direction: column;
                align-items: flex-start;
            }

            .dashboard-section .etf-composition-chart-stats {
                width: 100%;
                justify-content: space-between;
                text-align: left;
            }

            .dashboard-section .page-date {
                flex-direction: column;
                gap: 8px;
            }

            .dashboard-section > .page-header {
                grid-template-columns: 1fr;
                padding: 20px;
            }

            .dashboard-section .dashboard-hero-title {
                font-size: 24px;
            }

            .dashboard-section .dashboard-date-control {
                grid-column: 1;
                grid-row: auto;
                justify-self: stretch;
                max-width: none;
            }

            .dashboard-section .dashboard-market-targets {
                align-items: flex-start;
            }

            .dashboard-section .dashboard-target-separator {
                display: none;
            }

            .dashboard-section .dashboard-source-actions,
            .dashboard-section .dashboard-naver-button {
                width: 100%;
                min-width: 0;
            }

            .dashboard-section .dashboard-source-actions {
                grid-template-columns: 1fr;
            }

            .dashboard-section .dashboard-mode-filter-shell {
                padding: 14px;
            }

            .dashboard-section .dashboard-mode-filter-header {
                align-items: stretch;
            }

            .dashboard-section .dashboard-mode-segmented {
                width: 100%;
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .dashboard-section .dashboard-mode-chip {
                min-width: 0;
                padding: 0 8px;
            }

            .dashboard-section .observation-history-card {
                padding: 22px 18px 28px;
            }

            .dashboard-section .observation-history-controls {
                grid-template-columns: 1fr;
            }

            .dashboard-section .observation-history-actions,
            .dashboard-section .observation-history-load-btn {
                width: 100%;
            }

            .dashboard-section .observation-history-meta {
                align-items: flex-start;
            }

            .dashboard-section .ai-summary-section {
                padding: 16px;
            }
        }
    
        .decision-section .filter-bar {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 32px;
            display: flex;
            gap: 16px;
            align-items: center;
            box-shadow: var(--shadow-md);
            flex-wrap: wrap;
        }

        .decision-section .filter-label {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--text-light);
            margin-right: 8px;
        }

        .decision-section .filter-select,
        .decision-section .filter-checkbox {
            padding: 8px 12px;
            border: 1px solid var(--neutral-mid);
            border-radius: 6px;
            font-size: 12px;
            color: var(--text-dark);
            background: var(--bg-light);
            cursor: pointer;
        }

        .decision-section .comparison-table-wrapper {
            background: white;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 32px;
            box-shadow: var(--shadow-lg);
            overflow-x: auto;
        }

        .decision-section .comparison-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 1000px;
        }

        .decision-section .table-header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            position: sticky;
            top: 0;
        }

        .decision-section .table-header th {
            padding: 16px 12px;
            text-align: left;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }

        .decision-section .table-header th:first-child {
            position: sticky;
            left: 0;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            z-index: 10;
            width: 160px;
        }

        .decision-section .table-row {
            border-bottom: 1px solid var(--neutral-mid);
            transition: background 0.2s ease;
        }

        .decision-section .table-row:hover {
            background: var(--bg-light);
        }

        .decision-section .table-row.highlighted {
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.08), rgba(212, 175, 150, 0.04));
        }

        .decision-section .table-cell {
            padding: 16px 12px;
            font-size: 12px;
            color: var(--text-dark);
            text-align: center;
        }

        .decision-section .table-cell:first-child {
            position: sticky;
            left: 0;
            background: white;
            text-align: left;
            font-weight: 600;
            z-index: 5;
            min-width: 160px;
        }

        .decision-section .table-row.highlighted .table-cell:first-child {
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.08), rgba(212, 175, 150, 0.04));
        }

        .decision-section .value-best {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.2), rgba(168, 213, 186, 0.1));
            color: #1f7a45;
            font-weight: 700;
            padding: 8px;
            border-radius: 4px;
            display: inline-block;
        }

        .decision-section .value-good {
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.2), rgba(166, 197, 216, 0.1));
            color: #426b82;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 4px;
            display: inline-block;
        }

        .decision-section .value-warning {
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.2), rgba(245, 201, 163, 0.1));
            color: #8a5b2d;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 4px;
            display: inline-block;
        }

        .decision-section .score-bar {
            background: linear-gradient(to right, var(--accent-red), var(--accent-orange), var(--accent-blue), var(--accent-green));
            height: 6px;
            border-radius: 3px;
            overflow: hidden;
            margin: 4px 0;
        }

        .decision-section .score-fill {
            height: 100%;
            background: var(--accent-gold);
            transition: width 0.3s ease;
        }

        .decision-section .score-fill-87 {
            width: 87%;
        }

        .decision-section .score-fill-84 {
            width: 84%;
        }

        .decision-section .score-fill-83 {
            width: 83%;
        }

        .decision-section .score-fill-81 {
            width: 81%;
        }

        .decision-section .category-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 32px;
        }

        .decision-section .category-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: var(--shadow-md);
            border-left: 4px solid;
            transition: all 0.2s ease;
        }

        .decision-section .category-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .decision-section .category-card.positive {
            border-left-color: var(--accent-green);
        }

        .decision-section .category-card.neutral {
            border-left-color: var(--accent-blue);
        }

        .decision-section .category-card.warning {
            border-left-color: var(--accent-orange);
        }

        .decision-section .category-card.negative {
            border-left-color: var(--accent-red);
        }

        .decision-section .category-title {
            font-size: 14px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--neutral-mid);
        }

        .decision-section .category-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            font-size: 12px;
        }

        .decision-section .category-item-label {
            color: var(--text-light);
            flex: 1;
        }

        .decision-section .category-item-value {
            font-weight: 700;
            color: var(--text-dark);
            min-width: 60px;
            text-align: right;
        }

        .decision-section .category-item-rank {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            background: var(--accent-gold);
            color: white;
            border-radius: 50%;
            font-size: 10px;
            font-weight: 700;
            margin-left: 8px;
        }

        .decision-section .recommendation-box {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border-radius: 12px;
            padding: 28px;
            text-align: center;
            margin-bottom: 32px;
            box-shadow: var(--shadow-lg);
        }

        .decision-section .recommendation-title {
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 12px;
            opacity: 0.9;
        }

        .decision-section .recommendation-badge {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .decision-section .recommendation-reason {
            font-size: 13px;
            line-height: 1.6;
            opacity: 0.9;
        }

        .decision-section .filter-option-label {
            font-size: 12px;
            cursor: pointer;
        }

        .decision-section .filter-select-push {
            margin-left: auto;
        }

        .decision-section .score-summary {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
        }

        .decision-section .score-value {
            font-weight: 700;
        }

        .decision-section .score-value.primary {
            color: var(--accent-gold);
        }

        .decision-section .category-note {
            font-size: 11px;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .decision-section .detail-panel {
            background: white;
            border-radius: 12px;
            padding: 28px;
            margin-bottom: 32px;
            box-shadow: var(--shadow-lg);
        }

        .decision-section .detail-panel-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--neutral-mid);
        }

        .decision-section .detail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .decision-section .detail-card {
            padding: 16px;
            border-radius: 8px;
            border-left: 4px solid;
        }

        .decision-section .detail-card.positive {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.1), rgba(168, 213, 186, 0.05));
            border-left-color: var(--accent-green);
        }

        .decision-section .detail-card.warning {
            background: linear-gradient(135deg, rgba(245, 201, 163, 0.1), rgba(245, 201, 163, 0.05));
            border-left-color: var(--accent-orange);
        }

        .decision-section .detail-card.info {
            background: linear-gradient(135deg, rgba(166, 197, 216, 0.1), rgba(166, 197, 216, 0.05));
            border-left-color: var(--accent-blue);
        }

        .decision-section .detail-card-title {
            font-size: 13px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .decision-section .detail-list {
            list-style: none;
            font-size: 12px;
            color: var(--text-dark);
            line-height: 1.8;
        }

        .decision-section .disclaimer-box {
            background: rgba(255, 193, 7, 0.1);
            border-left: 4px solid #FFC107;
            border-radius: 8px;
            padding: 16px;
            margin-bottom: 32px;
        }

        .decision-section .disclaimer-text {
            font-size: 12px;
            color: #333;
            line-height: 1.6;
        }

        .decision-section .strategy-heading {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 20px;
        }

        .decision-section .strategy-summary-box {
            background: linear-gradient(135deg, rgba(168, 213, 186, 0.08) 0%, rgba(168, 213, 186, 0.02) 100%);
            border-left: 4px solid var(--accent-green);
            padding: 20px;
            border-radius: 8px;
            font-size: 13px;
            color: var(--text-dark);
            line-height: 1.8;
        }

        @media (max-width: 1200px) {
            .decision-section .table-cell {
                padding: 12px 8px;
                font-size: 11px;
            }
        }

        @media (max-width: 768px) {
            .decision-section .filter-bar {
                flex-direction: column;
                align-items: stretch;
            }

            .decision-section .category-cards {
                grid-template-columns: 1fr;
            }

            .decision-section .comparison-table {
                min-width: 100%;
            }
        }
        /* ========== UTILITY SECTIONS ========== */
        .utility-hero {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
            margin-bottom: 24px;
        }

        .utility-hero-card,
        .utility-side-card,
        .utility-surface,
        .mobile-preview-frame,
        .mobile-bottom-sheet,
        .mobile-stat-card {
            background: white;
            border: 1px solid var(--neutral-mid);
            border-radius: 20px;
            box-shadow: var(--shadow-md);
        }

        .utility-hero-card {
            padding: 28px;
            background:
                radial-gradient(circle at top right, rgba(212, 175, 150, 0.22), transparent 36%),
                radial-gradient(circle at bottom left, rgba(166, 197, 216, 0.18), transparent 32%),
                white;
        }

        .utility-side-card {
            padding: 24px;
        }

        .utility-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            background: var(--bg-light);
            font-size: 12px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 14px;
        }

        .utility-hero-title {
            font-size: 28px;
            font-weight: 800;
            color: var(--text-dark);
            line-height: 1.35;
            margin-bottom: 10px;
        }

        .utility-hero-text,
        .utility-note,
        .utility-list,
        .help-copy,
        .faq-answer,
        .mobile-copy {
            font-size: 14px;
            color: var(--text-dark);
            line-height: 1.75;
        }

        .utility-chip-row,
        .utility-tab-nav,
        .alert-filter-row,
        .mobile-tab-strip {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .utility-chip {
            padding: 10px 14px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            background: white;
            border: 1px solid var(--neutral-mid);
            color: var(--text-dark);
        }

        .utility-chip.positive {
            background: rgba(168, 213, 186, 0.18);
            border-color: rgba(168, 213, 186, 0.55);
        }

        .utility-chip.warning {
            background: rgba(245, 201, 163, 0.2);
            border-color: rgba(245, 201, 163, 0.6);
        }

        .utility-chip.info {
            background: rgba(166, 197, 216, 0.18);
            border-color: rgba(166, 197, 216, 0.55);
        }

        .utility-stat-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }

        .utility-stat-card {
            background: white;
            border: 1px solid var(--neutral-mid);
            border-radius: 16px;
            padding: 18px;
            box-shadow: var(--shadow-sm);
        }

        .utility-stat-label {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--text-light);
            margin-bottom: 8px;
        }

        .utility-stat-value {
            font-size: 26px;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .utility-stat-sub {
            font-size: 12px;
            color: var(--text-light);
        }

        .utility-tab-wrap {
            background: white;
            border: 1px solid var(--neutral-mid);
            border-radius: 18px;
            padding: 18px;
            box-shadow: var(--shadow-md);
            margin-bottom: 24px;
        }

        .utility-tab-btn,
        .alert-filter-chip,
        .mobile-tab-btn {
            border: 1px solid var(--neutral-mid);
            background: var(--bg-light);
            color: var(--text-dark);
            font-size: 12px;
            font-weight: 700;
            padding: 11px 16px;
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .utility-tab-btn.active,
        .alert-filter-chip.active,
        .mobile-tab-btn.active {
            background: linear-gradient(135deg, rgba(212, 175, 150, 0.25) 0%, rgba(168, 213, 186, 0.25) 100%);
            border-color: var(--accent-gold);
        }

        .utility-tab-content {
            display: none;
            margin-top: 18px;
        }

        .utility-tab-content.active {
            display: block;
        }

        .favorites-grid,
        .alert-rule-grid,
        .help-grid,
        .mobile-card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 18px;
        }

        .service-intro-stack {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .service-intro-section {
            padding: 24px;
        }

        .service-intro-selector {
            width: 100%;
            font: inherit;
            text-align: left;
            cursor: pointer;
        }

        .service-intro-selector.active {
            border-color: var(--accent-gold);
            background:
                linear-gradient(135deg, rgba(212, 175, 150, 0.2) 0%, rgba(168, 213, 186, 0.16) 100%),
                white;
            box-shadow: var(--shadow-lg);
        }

        .screen-guide-panel {
            display: none;
        }

        .screen-guide-panel.active {
            display: block;
        }

        .favorite-card,
        .alert-card,
        .help-card,
        .mobile-stat-card {
            background: white;
            border: 1px solid var(--neutral-mid);
            border-radius: 18px;
            padding: 20px;
            box-shadow: var(--shadow-sm);
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .favorite-card:hover,
        .alert-card:hover,
        .help-card:hover,
        .mobile-stat-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
            border-color: var(--accent-gold);
        }

        .favorite-head,
        .alert-head,
        .help-card-head,
        .mobile-card-head {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .favorite-title,
        .alert-title,
        .help-card-title,
        .mobile-card-title {
            font-size: 16px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .favorite-sub,
        .alert-time,
        .help-card-sub,
        .mobile-card-sub {
            font-size: 12px;
            color: var(--text-light);
        }

        .favorite-badge,
        .pill,
        .mobile-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 10px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 800;
        }

        .pill.buy,
        .favorite-badge.buy,
        .mobile-pill.buy {
            background: rgba(168, 213, 186, 0.22);
            color: #4f8b64;
        }

        .pill.hold,
        .favorite-badge.hold,
        .mobile-pill.hold {
            background: rgba(166, 197, 216, 0.22);
            color: #52748b;
        }

        .pill.warning,
        .favorite-badge.warning,
        .mobile-pill.warning {
            background: rgba(245, 201, 163, 0.22);
            color: #b2753c;
        }

        .pill.sell,
        .favorite-badge.sell,
        .mobile-pill.sell {
            background: rgba(244, 165, 165, 0.22);
            color: #b25b5b;
        }

        .favorite-metrics,
        .mobile-metrics {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            margin: 16px 0;
        }

        .metric-box {
            background: var(--bg-light);
            border-radius: 14px;
            padding: 12px;
        }

        .metric-box-label {
            font-size: 11px;
            font-weight: 700;
            color: var(--text-light);
            margin-bottom: 6px;
            text-transform: uppercase;
        }

        .metric-box-value {
            font-size: 15px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .metric-box-value.positive {
            color: #4f8b64;
        }

        .metric-box-value.negative {
            color: #b25b5b;
        }

        .favorite-actions,
        .help-actions,
        .mobile-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 12px;
        }

        .utility-btn,
        .mobile-action-btn {
            border: none;
            cursor: pointer;
            border-radius: 12px;
            padding: 11px 14px;
            font-size: 12px;
            font-weight: 800;
            transition: all 0.2s ease;
        }

        .utility-btn.primary,
        .mobile-action-btn.primary {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            color: white;
        }

        .utility-btn.secondary,
        .mobile-action-btn.secondary {
            background: var(--bg-light);
            color: var(--text-dark);
            border: 1px solid var(--neutral-mid);
        }

        .utility-btn:hover,
        .mobile-action-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        .portfolio-layout,
        .help-layout,
        .mobile-layout {
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 20px;
            margin-bottom: 24px;
        }

        .portfolio-table {
            width: 100%;
            border-collapse: collapse;
            overflow: hidden;
        }

        .portfolio-table th,
        .portfolio-table td {
            padding: 14px 12px;
            text-align: left;
            font-size: 13px;
            border-bottom: 1px solid var(--neutral-mid);
        }

        .portfolio-table th {
            font-size: 11px;
            text-transform: uppercase;
            color: var(--text-light);
            letter-spacing: 0.6px;
        }

        .portfolio-table tr:last-child td {
            border-bottom: none;
        }

        .table-name {
            font-weight: 800;
            color: var(--text-dark);
        }

        .table-code {
            display: block;
            margin-top: 4px;
            color: var(--text-light);
            font-size: 11px;
        }

        .progress-rail {
            width: 100%;
            height: 12px;
            background: var(--bg-secondary);
            border-radius: 999px;
            overflow: hidden;
            margin: 16px 0 14px;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-green) 100%);
            border-radius: 999px;
        }

        .allocation-list,
        .insight-list,
        .help-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .allocation-row,
        .insight-item,
        .help-list-item,
        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            border-radius: 14px;
            background: var(--bg-light);
        }

        .allocation-label,
        .insight-title,
        .help-list-title {
            font-size: 13px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .allocation-value,
        .insight-meta,
        .help-list-meta {
            font-size: 12px;
            color: var(--text-light);
            text-align: right;
        }

        .alert-timeline {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .alert-card {
            display: grid;
            grid-template-columns: 56px 1fr;
            gap: 16px;
            align-items: start;
        }

        .alert-icon {
            width: 56px;
            height: 56px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            background: var(--bg-light);
        }

        .alert-card.positive .alert-icon {
            background: rgba(168, 213, 186, 0.22);
        }

        .alert-card.warning .alert-icon {
            background: rgba(245, 201, 163, 0.22);
        }

        .alert-card.info .alert-icon {
            background: rgba(166, 197, 216, 0.22);
        }

        .alert-card.negative .alert-icon {
            background: rgba(244, 165, 165, 0.22);
        }

        .rule-row {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr;
            gap: 12px;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--neutral-mid);
        }

        .rule-row:last-child {
            border-bottom: none;
        }

        .rule-symbol {
            font-size: 14px;
            font-weight: 800;
            color: var(--text-dark);
        }

        .rule-desc,
        .rule-channel {
            font-size: 12px;
            color: var(--text-light);
        }

        .faq-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .faq-item {
            background: white;
            border: 1px solid var(--neutral-mid);
            border-radius: 16px;
            overflow: hidden;
        }

        .faq-question {
            cursor: pointer;
        }

        .faq-toggle {
            background: none;
            border: none;
            font-size: 14px;
            color: var(--text-light);
            cursor: pointer;
            transition: transform 0.2s ease;
        }

        .faq-item.open .faq-toggle {
            transform: rotate(180deg);
        }

        .faq-answer {
            display: none;
            padding: 0 16px 16px;
        }

        .faq-item.open .faq-answer {
            display: block;
        }

        .mobile-showcase {
            margin-top: 28px;
        }

        .mobile-preview-frame {
            padding: 16px;
            background:
                linear-gradient(180deg, rgba(44, 62, 80, 0.98) 0%, rgba(52, 73, 94, 0.98) 100%);
            color: white;
        }

        .mobile-status-bar {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            opacity: 0.8;
            margin-bottom: 14px;
        }

        .mobile-app-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 18px;
        }

        .mobile-app-title {
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 6px;
        }

        .mobile-search {
            background: rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 12px 14px;
            color: rgba(255, 255, 255, 0.78);
            font-size: 13px;
            margin-bottom: 16px;
        }

        .mobile-card-grid {
            grid-template-columns: 1fr;
        }

        .mobile-stat-card {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.1);
            color: white;
        }

        .mobile-stat-card .mobile-card-title,
        .mobile-stat-card .mobile-card-sub,
        .mobile-stat-card .metric-box-value,
        .mobile-stat-card .metric-box-label {
            color: white;
        }

        .mobile-stat-card .metric-box {
            background: rgba(255, 255, 255, 0.08);
        }

        .mobile-bottom-sheet {
            margin-top: 18px;
            padding: 20px;
            color: var(--text-dark);
        }

        .mobile-bottom-title {
            font-size: 18px;
            font-weight: 800;
            margin-bottom: 8px;
        }

        .journal-summary-grid {
            margin-bottom: 18px;
        }

        .journal-month-card {
            padding: 30px 28px 42px;
            border-radius: 10px;
            border-top-color: #d9ae8f;
            box-shadow: 0 12px 30px rgba(44, 62, 80, 0.1);
        }

        .journal-month-card .card-title {
            margin-bottom: 20px;
            padding-bottom: 18px;
            border-bottom-color: rgba(166, 197, 216, 0.42);
            font-size: 18px;
            line-height: 1.35;
        }

        .journal-month-shell {
            margin-bottom: 0;
            padding: 0;
            border: 0;
            background: transparent;
            box-shadow: none;
        }

        .journal-lookup-compact {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
            gap: 14px;
            align-items: stretch;
        }

        .journal-lookup-status,
        .journal-lookup-action {
            min-width: 0;
            padding: 14px 16px;
            border: 1px solid rgba(214, 224, 235, 0.96);
            border-radius: 14px;
            background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
        }

        .journal-lookup-status {
            display: grid;
            gap: 8px;
        }

        .journal-lookup-status-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }

        .journal-lookup-kicker,
        .journal-lookup-label {
            color: #5d6c7b;
            font-size: 12px;
            font-weight: 900;
        }

        .journal-lookup-title {
            color: #10243f;
            font-size: 16px;
            line-height: 1.35;
            font-weight: 900;
        }

        .journal-lookup-copy {
            color: #536476;
            font-size: 12px;
            line-height: 1.55;
            font-weight: 700;
        }

        .journal-lookup-action {
            display: grid;
            gap: 8px;
            align-content: center;
        }

        .journal-lookup-date-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 86px;
            gap: 8px;
            align-items: center;
        }

        .journal-query-mode-shell {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .journal-query-mode-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
            flex-wrap: wrap;
        }

        .journal-query-mode-description {
            margin-top: 6px;
            color: var(--text-light);
            font-size: 13px;
            line-height: 1.55;
        }

        .journal-query-mode-segmented {
            display: inline-flex;
            align-items: center;
            padding: 4px;
            border-radius: 14px;
            border: 1px solid rgba(47, 76, 102, 0.14);
            background: rgba(248, 244, 239, 0.92);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
        }

        .journal-query-mode-chip {
            min-width: 108px;
            height: 40px;
            padding: 0 16px;
            border: 0;
            border-radius: 10px;
            background: transparent;
            color: var(--text-light);
            font-size: 14px;
            font-weight: 800;
            cursor: pointer;
            transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
        }

        .journal-query-mode-chip.active {
            background: linear-gradient(180deg, #ffffff 0%, #fdf8f2 100%);
            color: var(--text-dark);
            box-shadow: 0 10px 18px rgba(44, 62, 80, 0.08);
        }

        .journal-current-view-banner {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 10px 14px;
            align-items: center;
            padding: 16px 18px;
            border-radius: 14px;
            border: 1px solid rgba(47, 76, 102, 0.12);
            background: linear-gradient(180deg, rgba(242, 247, 251, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
        }

        .journal-current-view-eyebrow {
            color: var(--text-light);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .journal-current-view-title {
            color: var(--text-dark);
            font-size: 16px;
            font-weight: 800;
            line-height: 1.4;
        }

        .journal-current-view-copy {
            grid-column: 1 / -1;
            color: var(--text-light);
            font-size: 13px;
            line-height: 1.6;
        }

        .journal-mode-panel.hidden {
            display: none;
        }

        .journal-month-meta {
            margin-top: 0;
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-light);
            font-size: 12px;
            font-weight: 600;
        }

        .journal-month-meta-inline {
            justify-content: flex-end;
        }

        .journal-month-query-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 108px;
            gap: 16px;
            align-items: flex-end;
        }

        .journal-month-query-control {
            display: grid;
            gap: 8px;
            min-width: 0;
        }

        .journal-month-actions {
            display: flex;
            align-items: flex-end;
            justify-content: flex-end;
        }

        .journal-month-input {
            height: 40px;
            width: 100%;
            padding: 0 12px;
            border-radius: 10px;
            border: 1px solid rgba(47, 76, 102, 0.16);
            background: rgba(255, 255, 255, 0.95);
            color: var(--text-dark);
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
        }

        .journal-month-load-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 40px;
            width: 86px;
            min-width: 86px;
            border-radius: 10px;
        }

        .journal-month-toolbar {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .journal-month-grid-labels {
            display: grid;
            grid-template-columns: 108px minmax(0, 1fr);
            gap: 10px;
            color: var(--text-light);
            font-size: 12px;
            font-weight: 800;
        }

        .journal-month-control-row {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .journal-month-year-wrap {
            position: relative;
            display: inline-flex;
        }

        .journal-year-select {
            min-width: 92px;
            height: 40px;
            padding: 0 30px 0 14px;
            border-radius: 10px;
            border: 1px solid #7ea7ea;
            background: #2d6cdf;
            color: #ffffff;
            font-size: 14px;
            font-weight: 700;
            appearance: none;
            cursor: pointer;
        }

        .journal-month-year-wrap::after {
            content: "▾";
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #ffffff;
            font-size: 12px;
            pointer-events: none;
        }

        .journal-month-chip-grid {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .journal-month-chip {
            min-width: 54px;
            height: 40px;
            padding: 0 12px;
            border-radius: 8px;
            border: 1px solid #7ea7ea;
            background: #2d6cdf;
            color: #ffffff;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
        }

        .journal-month-chip:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(45, 108, 223, 0.18);
        }

        .journal-month-chip.active {
            background: #174ea6;
            border-color: #174ea6;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
        }

        .journal-month-chip:disabled {
            background: #d8e0ef;
            border-color: #c3cfdf;
            color: #8ca0bb;
            cursor: not-allowed;
        }

        .journal-status-pill,
        .journal-side-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 72px;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
            border: 1px solid var(--border);
            background: #f7f4ef;
            color: var(--text-dark);
        }

        .journal-status-pill.closed {
            background: #edf3f8;
            color: #516a7c;
        }

        .journal-side-pill.buy {
            background: #eaf5ea;
            color: #4f8b64;
            border-color: #cde5d1;
        }

        .journal-side-pill.sell {
            background: #fff1eb;
            color: #b25b5b;
            border-color: #f2d1c3;
        }

        .journal-note-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .journal-note-card {
            padding: 14px 16px;
            border: 1px solid var(--border);
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.7);
        }

        .journal-note-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .tracker-autocomplete-empty {
            padding: 12px 14px;
            font-size: 13px;
            color: var(--text-light);
            background: white;
            border: 1px solid var(--neutral-mid);
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
        }

        .tracker-panel-message {
            padding: 18px 16px;
            border: 1px dashed var(--neutral-mid);
            border-radius: 14px;
            background: rgba(255,255,255,0.72);
            color: var(--text-light);
            font-size: 13px;
            line-height: 1.7;
        }

        .tracker-empty-label {
            fill: var(--text-light);
            font-size: 14px;
            font-weight: 600;
        }

        .etf-composition-button:disabled,
        .header-btn:disabled {
            opacity: 0.72;
            cursor: wait;
        }

.journal-summary-grid .utility-stat-value {
            font-size: 34px;
            letter-spacing: -0.04em;
        }

        .journal-summary-grid .utility-stat-card {
            text-align: left;
        }

        .journal-summary-grid .utility-stat-label,
        .journal-summary-grid .utility-stat-value,
        .journal-summary-grid .utility-stat-sub {
            text-align: left;
        }

        .journal-summary-grid .utility-stat-card:nth-child(-n+3) .utility-stat-value,
        .journal-summary-grid .utility-stat-card:nth-child(-n+3) .utility-stat-sub {
            text-align: right;
        }

        .journal-table-wrap {
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            border-radius: 8px;
        }

        .journal-table {
            width: 100%;
            min-width: 1080px;
            table-layout: auto;
            border-collapse: separate;
            border-spacing: 0;
        }

        .journal-table thead th {
            padding: 18px 20px;
            white-space: nowrap;
        }

        .journal-table tbody td {
            padding: 18px 20px;
            line-height: 1.65;
            white-space: nowrap;
            vertical-align: top;
        }

        .journal-table tbody tr:nth-child(even) {
            background: rgba(250, 247, 241, 0.7);
        }

        .journal-table .journal-cell-date {
            min-width: 128px;
        }

        .journal-section {
            --journal-card-border: rgba(214, 224, 235, 0.92);
        }

        .journal-section .page-date {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            color: #7a8796;
            font-size: 13px;
            font-weight: 700;
        }

        .journal-section .page-date span + span {
            padding-left: 12px;
            border-left: 1px solid rgba(120, 133, 143, 0.22);
        }

        .journal-section .journal-strategy-control {
            padding: 14px 16px;
            border: 1px solid rgba(214, 224, 235, 0.96);
            border-radius: 14px;
            background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
        }

        .journal-section .journal-strategy-control label {
            display: block;
            margin-bottom: 10px;
            color: #10243f;
            font-size: 13px;
            font-weight: 900;
        }

        .journal-section .journal-strategy-control p {
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid rgba(120, 133, 143, 0.16);
            color: #536476;
            font-size: 12px;
            line-height: 1.55;
            font-weight: 700;
        }

        .journal-section .journal-disclaimer-banner {
            margin-bottom: 18px;
        }

        .journal-section .journal-filter-card,
        .journal-section .journal-data-card,
        .journal-section .journal-insight-surface,
        .journal-section .journal-summary-grid .utility-stat-card {
            border: 1px solid var(--journal-card-border);
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 12px 28px rgba(21, 37, 60, 0.06);
        }

        .journal-section .journal-filter-card {
            padding: 18px 20px;
            margin-bottom: 16px;
            border-top-color: var(--journal-card-border);
        }

        .journal-section .journal-filter-card .card-title,
        .journal-section .journal-data-card .card-title {
            margin-bottom: 16px;
            padding-bottom: 14px;
            border-bottom: 1px solid rgba(214, 224, 235, 0.86);
            color: #10243f;
            font-size: 17px;
            line-height: 1.35;
            font-weight: 900;
        }

        .journal-section .journal-filter-card .card-title {
            margin-bottom: 12px;
            padding-bottom: 10px;
            font-size: 16px;
        }

        .journal-card-copy {
            margin: -6px 0 16px;
            color: #52627a;
            font-size: 0.9rem;
            font-weight: 700;
            line-height: 1.55;
        }

        .journal-event-timeline {
            display: grid;
            gap: 12px;
        }

        .journal-event-date-group {
            display: grid;
            gap: 10px;
        }

        .journal-event-date-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 6px 2px 0;
        }

        .journal-event-date-heading strong {
            color: #10243f;
            font-size: 14px;
            line-height: 1.35;
            font-weight: 900;
        }

        .journal-event-date-heading span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 46px;
            height: 24px;
            padding: 0 10px;
            border-radius: 999px;
            background: #eef5ff;
            color: #335b8a;
            font-size: 11px;
            font-weight: 900;
            white-space: nowrap;
        }

        .journal-event-date-items {
            display: grid;
            gap: 12px;
        }

        .journal-event-item {
            display: grid;
            grid-template-columns: 16px minmax(0, 1fr);
            gap: 12px;
            align-items: start;
            position: relative;
        }

        .journal-event-item::before {
            content: '';
            position: absolute;
            left: 7px;
            top: 18px;
            bottom: -14px;
            width: 2px;
            background: #dbe6f3;
        }

        .journal-event-item:last-child::before {
            display: none;
        }

        .journal-event-marker {
            width: 16px;
            height: 16px;
            border-radius: 999px;
            margin-top: 4px;
            background: #2563eb;
            box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
            z-index: 1;
        }

        .journal-event-item.signal .journal-event-marker {
            background: #7c3aed;
            box-shadow: 0 0 0 5px rgba(124, 58, 237, 0.12);
        }

        .journal-event-item.buy .journal-event-marker {
            background: #059669;
            box-shadow: 0 0 0 5px rgba(5, 150, 105, 0.12);
        }

        .journal-event-item.risk .journal-event-marker {
            background: #ef4444;
            box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.12);
        }

        .journal-event-body {
            border: 1px solid #dbe7f3;
            border-radius: 14px;
            padding: 13px 15px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        }

        .journal-event-meta {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            color: #6b7b90;
            font-size: 0.78rem;
            font-weight: 900;
            margin-bottom: 6px;
        }

        .journal-event-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 14px;
        }

        .journal-event-title {
            color: var(--ink);
            font-size: 0.95rem;
            font-weight: 950;
            line-height: 1.35;
        }

        .journal-event-action {
            flex: 0 0 auto;
        }

        .journal-section .journal-event-action .ai-quote-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 92px;
            min-height: 38px;
            padding: 6px 10px;
            border: 1px solid #cfe0ff;
            border-radius: 8px;
            background: #f8fbff;
            color: #1769e0;
            font-weight: 800;
            font-size: 0.76rem;
            line-height: 1;
            text-decoration: none;
            white-space: nowrap;
            gap: 6px;
            flex-direction: row;
        }

        .journal-section .journal-event-action .ai-quote-btn .quote-button-text,
        .journal-section .journal-event-action .ai-quote-btn .quote-button-icon {
            display: inline;
            white-space: nowrap;
        }

        .journal-section .journal-event-action .ai-quote-btn .quote-button-icon {
            font-size: 0.74rem;
            line-height: 1;
            margin-top: 0;
        }

        .journal-section .journal-event-action .ai-quote-btn:hover {
            border-color: #80adff;
            background: #edf5ff;
        }

        .journal-event-detail {
            margin-top: 5px;
            color: #52627a;
            font-size: 0.84rem;
            font-weight: 700;
            line-height: 1.5;
        }

        .journal-event-timeline-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            padding-top: 8px;
        }

        .journal-timeline-more-btn {
            height: 38px;
            padding: 0 16px;
            border-radius: 999px;
            border: 1px solid rgba(37, 99, 235, 0.18);
            background: #eef5ff;
            color: #174a88;
            font-size: 12px;
            font-weight: 900;
            cursor: pointer;
            transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        }

        .journal-timeline-more-btn:hover {
            background: #e4efff;
            border-color: rgba(37, 99, 235, 0.32);
        }

        .journal-timeline-more-btn.secondary {
            background: #ffffff;
            color: #52627a;
            border-color: rgba(82, 98, 122, 0.18);
        }

        .journal-timeline-more-btn.secondary:hover {
            background: #f8fbff;
            border-color: rgba(82, 98, 122, 0.28);
        }

        .journal-section .journal-month-shell {
            padding: 14px;
            border-radius: 14px;
            border-color: rgba(214, 224, 235, 0.9);
            background: #f8fbff;
            box-shadow: none;
        }

        .journal-section .journal-current-view-banner {
            border-color: rgba(214, 224, 235, 0.9);
            background: #ffffff;
        }

        .journal-section .journal-query-mode-segmented {
            background: #eef2f5;
            border-color: rgba(120, 133, 143, 0.22);
            border-radius: 12px;
        }

        .journal-section .journal-query-mode-chip {
            height: 38px;
            border-radius: 10px;
            color: #10243f;
            font-size: 13px;
        }

        .journal-section .journal-query-mode-chip.active,
        .journal-section .journal-month-chip.active {
            background: #ffffff;
            color: var(--primary);
            box-shadow: 0 6px 16px rgba(21, 37, 60, 0.12);
        }

        .journal-section .journal-summary-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
            margin-bottom: 18px;
        }

        .journal-section .journal-summary-grid .utility-stat-card {
            padding: 18px 18px 16px;
            min-height: 128px;
            text-align: left;
        }

        .journal-section .journal-summary-grid .utility-stat-label {
            color: #506174;
            font-size: 12px;
            font-weight: 800;
        }

        .journal-section .journal-summary-grid .utility-stat-value {
            margin-top: 10px;
            color: #10243f;
            font-size: 24px;
            line-height: 1.2;
            letter-spacing: 0;
            text-align: left;
            word-break: keep-all;
        }

        .journal-section .journal-summary-grid .utility-stat-sub {
            margin-top: 8px;
            color: var(--primary);
            font-size: 13px;
            line-height: 1.4;
            font-weight: 900;
            text-align: left;
        }

        .journal-section .journal-summary-breakdown {
            display: grid;
            gap: 7px;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(191, 216, 246, 0.86);
        }

        .journal-section .journal-summary-breakdown-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 10px;
            align-items: baseline;
            color: #40546a;
            font-size: 11px;
            line-height: 1.35;
            font-weight: 800;
        }

        .journal-section .journal-summary-breakdown-row span {
            min-width: 0;
            word-break: keep-all;
        }

        .journal-section .journal-summary-breakdown-row strong {
            color: #10243f;
            font-size: 12px;
            font-weight: 900;
            font-variant-numeric: tabular-nums;
            white-space: nowrap;
        }

        .journal-section .portfolio-layout {
            gap: 14px;
            margin-bottom: 18px;
        }

        .journal-section .journal-insight-surface {
            padding: 22px 24px;
        }

        .journal-section .journal-insight-surface .utility-kicker {
            color: #506174;
            font-size: 12px;
            font-weight: 900;
        }

        .journal-section .journal-insight-surface .utility-hero-title {
            margin: 8px 0;
            color: #10243f;
            font-size: 21px;
            line-height: 1.35;
            font-weight: 900;
            letter-spacing: 0;
        }

        .journal-section .journal-insight-surface .utility-note {
            color: #506174;
            font-size: 13px;
            line-height: 1.65;
            font-weight: 700;
        }

        .journal-section .journal-data-card {
            margin-bottom: 18px;
            padding: 20px 22px 24px;
        }

        .journal-section .journal-trade-activity {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin: 0 0 14px;
        }

        .journal-section .journal-trade-activity-card {
            min-height: 104px;
            border: 1px solid rgba(191, 216, 246, 0.92);
            border-radius: 12px;
            background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
            padding: 14px 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 8px;
        }

        .journal-section .journal-trade-activity-card span {
            color: #5e7084;
            font-size: 12px;
            font-weight: 900;
        }

        .journal-section .journal-trade-activity-card strong {
            color: #0f2f52;
            font-size: 24px;
            line-height: 1.1;
            font-weight: 900;
            letter-spacing: 0;
        }

        .journal-section .journal-trade-activity-card small {
            color: #40546a;
            font-size: 12px;
            line-height: 1.55;
            font-weight: 800;
            word-break: keep-all;
        }

        .journal-section .journal-trade-activity-card.is-reason {
            background: #fffdf8;
            border-color: rgba(226, 186, 145, 0.72);
        }

        .journal-section .journal-table-wrap {
            border: 1px solid rgba(214, 224, 235, 0.86);
            border-radius: 12px;
            background: white;
        }

        .journal-section .journal-table thead th {
            padding: 14px 16px;
            background: #0f2f52;
            color: #ffffff;
            font-size: 12px;
            font-weight: 900;
        }

        .journal-section .journal-table tbody td {
            padding: 14px 16px;
            color: #10243f;
            font-size: 13px;
            line-height: 1.55;
            font-weight: 700;
        }

        .journal-section .journal-table tbody tr:nth-child(even) {
            background: #f8fbff;
        }

        .journal-table .journal-cell-type {
            min-width: 118px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .journal-table .journal-cell-code {
            min-width: 120px;
            color: var(--text-light);
            font-weight: 700;
            letter-spacing: 0.02em;
        }

        .journal-table .journal-cell-name {
            min-width: 140px;
        }

        .journal-table .journal-cell-signal {
            min-width: 128px;
        }

        .journal-table .journal-cell-price,
        .journal-table .journal-cell-money {
            min-width: 150px;
            font-variant-numeric: tabular-nums;
        }

        .journal-table .journal-cell-qty {
            min-width: 100px;
            font-variant-numeric: tabular-nums;
        }

        .journal-table .journal-cell-rationale {
            min-width: 360px;
            max-width: 520px;
            white-space: normal;
            word-break: keep-all;
        }

        .journal-holdings-table td:nth-child(11),
        .journal-today-table td:nth-child(13),
        .journal-trades-table td:nth-child(12) {
            min-width: 320px;
            max-width: 520px;
            white-space: normal;
            word-break: keep-all;
            overflow-wrap: anywhere;
            line-height: 1.7;
        }

        .journal-holdings-table {
            width: 100%;
            min-width: 0;
            table-layout: fixed;
        }

        .journal-holdings-table thead th,
        .journal-holdings-table tbody td {
            padding: 14px 10px;
            font-size: 12px;
        }

        .journal-holdings-table tbody tr.journal-holdings-total-row {
            background: #eef5ff;
            border-top: 2px solid rgba(15, 47, 82, 0.18);
        }

        .journal-holdings-table tbody tr.journal-holdings-total-row td {
            color: #0f2f52;
            font-weight: 900;
            font-variant-numeric: tabular-nums;
        }

        .journal-holdings-table tbody tr.journal-holdings-total-row td:first-child {
            text-align: right;
        }

        .journal-holdings-table tbody tr.journal-holdings-total-row td:not(:first-child) {
            text-align: right;
        }

        .journal-holdings-table tbody tr.journal-holdings-total-row td:last-child {
            text-align: left;
            color: #40546a;
        }

        .journal-holdings-table th:nth-child(1),
        .journal-holdings-table td:nth-child(1) {
            width: 5%;
        }

        .journal-holdings-table th:nth-child(2),
        .journal-holdings-table td:nth-child(2) {
            width: 7%;
        }

        .journal-holdings-table th:nth-child(3),
        .journal-holdings-table td:nth-child(3) {
            width: 19%;
        }

        .journal-holdings-table th:nth-child(4),
        .journal-holdings-table td:nth-child(4) {
            width: 11%;
        }

        .journal-holdings-table th:nth-child(5),
        .journal-holdings-table td:nth-child(5),
        .journal-holdings-table th:nth-child(6),
        .journal-holdings-table td:nth-child(6),
        .journal-holdings-table th:nth-child(7),
        .journal-holdings-table td:nth-child(7),
        .journal-holdings-table th:nth-child(8),
        .journal-holdings-table td:nth-child(8),
        .journal-holdings-table th:nth-child(9),
        .journal-holdings-table td:nth-child(9),
        .journal-holdings-table th:nth-child(10),
        .journal-holdings-table td:nth-child(10) {
            width: 7%;
        }

        .journal-holdings-table th:last-child,
        .journal-holdings-table td:last-child {
            width: 16%;
        }

        .journal-holdings-table .journal-cell-code,
        .journal-holdings-table .journal-cell-date,
        .journal-holdings-table .journal-cell-price,
        .journal-holdings-table .journal-cell-money,
        .journal-holdings-table .journal-cell-qty {
            min-width: 0;
        }

        .journal-holdings-table .journal-cell-name {
            min-width: 0;
            white-space: normal;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .journal-holdings-table .journal-cell-rationale,
        .journal-holdings-table td:last-child {
            min-width: 0;
            max-width: none;
            white-space: normal;
            word-break: keep-all;
            overflow-wrap: anywhere;
            line-height: 1.6;
        }

        .journal-holdings-quote-cell {
            text-align: center;
        }

        .journal-holdings-quote-cell .ai-quote-btn {
            margin: 0 auto;
            min-width: 92px;
            padding: 7px 10px;
        }

        .journal-holdings-quote-cell .ai-quote-btn .quote-button-text,
        .journal-holdings-quote-cell .ai-quote-btn .quote-button-icon {
            display: block;
        }

        .journal-holdings-quote-cell .ai-quote-btn.compact {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            white-space: nowrap;
        }

        .journal-holdings-quote-cell .ai-quote-btn.compact .quote-button-text,
        .journal-holdings-quote-cell .ai-quote-btn.compact .quote-button-icon {
            display: inline;
            white-space: nowrap;
            margin: 0;
        }

        .journal-rationale-trigger {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            width: 100%;
            overflow: hidden;
            border: 0;
            background: transparent;
            padding: 0;
            color: inherit;
            font: inherit;
            line-height: 1.6;
            text-align: left;
            word-break: keep-all;
            overflow-wrap: anywhere;
            cursor: pointer;
        }

        .journal-rationale-trigger:hover,
        .journal-rationale-trigger:focus-visible {
            color: #2759c9;
            outline: none;
        }

        .journal-rationale-modal {
            display: grid;
            gap: 10px;
        }

        .journal-rationale-modal-meta {
            color: var(--text-light);
            font-size: 13px;
            font-weight: 700;
        }

        .journal-rationale-modal-text {
            color: var(--text-primary);
            font-size: 14px;
            line-height: 1.75;
            white-space: normal;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .journal-trades-monthly {
            display: grid;
            gap: 18px;
        }

        .journal-trade-filter-shell {
            display: grid;
            gap: 10px;
        }

        .journal-trade-account-filter {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            border: 1px solid rgba(214, 224, 235, 0.92);
            border-radius: 14px;
            background: #fbfdff;
            padding: 12px 18px;
        }

        .journal-trade-account-filter > span {
            color: #60758d;
            font-size: 12px;
            line-height: 1.25;
            font-weight: 900;
            white-space: nowrap;
        }

        .journal-trade-account-buttons {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex-wrap: wrap;
            gap: 8px;
        }

        .journal-trade-account-chip {
            min-height: 34px;
            padding: 0 14px;
            border: 1px solid #d3deec;
            border-radius: 10px;
            background: #fff;
            color: #10243f;
            font-size: 13px;
            font-weight: 900;
            cursor: pointer;
            transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
        }

        .journal-trade-account-chip.active {
            border-color: #0b2d52;
            background: #0b2d52;
            color: #fff;
            box-shadow: 0 8px 18px rgba(11, 45, 82, 0.16);
        }

        .journal-trade-account-chip:hover,
        .journal-trade-account-chip:focus-visible {
            border-color: #80adff;
            outline: none;
        }

        .journal-trade-range-shell {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 18px;
            border: 1px solid rgba(214, 224, 235, 0.92);
            border-radius: 14px;
            background: #fbfdff;
            padding: 12px 18px;
        }

        .journal-trade-range-group {
            display: grid;
            gap: 6px;
            min-width: 0;
            flex: 0 1 360px;
            max-width: 360px;
            justify-items: center;
            text-align: center;
        }

        .journal-trade-range-group > span {
            color: #60758d;
            font-size: 12px;
            line-height: 1.25;
            font-weight: 800;
            text-align: center;
        }

        .journal-trade-range-selects {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: nowrap;
            justify-content: center;
        }

        .journal-trade-range-selects select {
            min-width: 74px;
            height: 32px;
            padding: 0 9px;
            border: 1px solid #d3deec;
            border-radius: 8px;
            background: #fff;
            color: #10243f;
            font-size: 13px;
            font-weight: 800;
        }

        .journal-trade-range-selects select:disabled {
            color: #60758d;
            background: #f5f8fc;
            cursor: default;
        }

        .journal-trade-range-selects label,
        .journal-trade-range-divider {
            color: #52627a;
            font-size: 13px;
            font-weight: 800;
            white-space: nowrap;
        }

        .journal-trade-range-divider {
            flex: 0 0 auto;
            min-width: 22px;
            padding-top: 20px;
            text-align: center;
            color: #35577f;
            font-weight: 900;
        }

        .journal-trade-month-group {
            border: 1px solid rgba(214, 224, 235, 0.86);
            border-radius: 14px;
            background: #fdfefe;
            padding: 16px 18px;
        }

        .journal-trade-month-group.skeleton {
            background: #fff;
        }

        .journal-trade-month-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
        }

        .journal-trade-month-head h3 {
            margin: 0;
            color: #10243f;
            font-size: 16px;
            line-height: 1.3;
            font-weight: 900;
        }

        .journal-trade-month-head span {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 42px;
            min-height: 28px;
            padding: 0 10px;
            border-radius: 999px;
            background: #eef5ff;
            color: #1769e0;
            font-size: 12px;
            font-weight: 900;
            white-space: nowrap;
        }

        .journal-trade-month-list {
            display: grid;
            gap: 12px;
        }

        .journal-monthly-trade-table-wrap {
            width: 100%;
            overflow-x: auto;
            border: 1px solid #d9e6f5;
            border-radius: 10px;
            background: #fff;
            box-shadow: 0 1px 2px rgba(16, 36, 63, 0.04);
        }

        .journal-monthly-trade-table {
            width: 100%;
            min-width: 1420px;
            border-collapse: collapse;
            table-layout: fixed;
        }

        .journal-monthly-trade-table thead th {
            padding: 10px 8px;
            border-bottom: 2px solid #10243f;
            background: #fff;
            color: #10243f;
            font-size: 12px;
            line-height: 1.35;
            font-weight: 900;
            text-align: center;
            white-space: nowrap;
        }

        .journal-monthly-trade-table tbody td {
            padding: 9px 8px;
            border-bottom: 1px solid #dfe8f3;
            background: #fff;
            color: #10243f;
            font-size: 12px;
            line-height: 1.45;
            font-weight: 800;
            vertical-align: top;
        }

        .journal-monthly-trade-table tbody tr:last-child td {
            border-bottom: 0;
        }

        .journal-monthly-trade-table tbody tr:nth-child(even) td {
            background: #fbfdff;
        }

        .journal-monthly-trade-table tbody tr:hover td {
            background: #f4f8ff;
        }

        .journal-monthly-trade-table th:nth-child(1),
        .journal-monthly-trade-table td:nth-child(1) {
            width: 54px;
        }

        .journal-monthly-trade-table th:nth-child(2),
        .journal-monthly-trade-table td:nth-child(2) {
            width: 86px;
        }

        .journal-monthly-trade-table th:nth-child(3),
        .journal-monthly-trade-table td:nth-child(3) {
            width: 70px;
        }

        .journal-monthly-trade-table th:nth-child(4),
        .journal-monthly-trade-table td:nth-child(4) {
            width: 120px;
        }

        .journal-monthly-trade-table th:nth-child(5),
        .journal-monthly-trade-table td:nth-child(5) {
            width: 64px;
        }

        .journal-monthly-trade-table th:nth-child(6),
        .journal-monthly-trade-table td:nth-child(6),
        .journal-monthly-trade-table th:nth-child(7),
        .journal-monthly-trade-table td:nth-child(7),
        .journal-monthly-trade-table th:nth-child(8),
        .journal-monthly-trade-table td:nth-child(8),
        .journal-monthly-trade-table th:nth-child(9),
        .journal-monthly-trade-table td:nth-child(9),
        .journal-monthly-trade-table th:nth-child(10),
        .journal-monthly-trade-table td:nth-child(10) {
            width: 120px;
        }

        .journal-monthly-trade-table th:nth-child(11),
        .journal-monthly-trade-table td:nth-child(11) {
            width: 446px;
        }

        .journal-monthly-cell-center {
            text-align: center;
            white-space: nowrap;
        }

        .journal-monthly-cell-number {
            text-align: right;
            white-space: nowrap;
            font-variant-numeric: tabular-nums;
        }

        .journal-monthly-cell-rationale {
            white-space: normal;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .journal-monthly-cell-rationale .journal-rationale-trigger {
            line-height: 1.45;
        }

        .journal-trades-monthly,
        .journal-trade-filter-shell,
        .journal-trade-account-filter,
        .journal-trade-range-shell,
        .journal-trade-month-group,
        .journal-monthly-trade-table-wrap {
            min-width: 0;
            max-width: 100%;
            box-sizing: border-box;
        }

        .journal-trade-account-filter,
        .journal-trade-range-shell {
            width: 100%;
        }

        .journal-trade-range-shell {
            flex-wrap: wrap;
        }

        .journal-monthly-trade-table {
            min-width: 0;
            width: 100%;
        }

        .journal-monthly-trade-table th,
        .journal-monthly-trade-table td {
            box-sizing: border-box;
            min-width: 0;
        }

        .journal-monthly-trade-table thead th {
            white-space: normal;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .journal-monthly-trade-table th:nth-child(1),
        .journal-monthly-trade-table td:nth-child(1) {
            width: 4%;
        }

        .journal-monthly-trade-table th:nth-child(2),
        .journal-monthly-trade-table td:nth-child(2) {
            width: 7%;
        }

        .journal-monthly-trade-table th:nth-child(3),
        .journal-monthly-trade-table td:nth-child(3) {
            width: 5%;
        }

        .journal-monthly-trade-table th:nth-child(4),
        .journal-monthly-trade-table td:nth-child(4) {
            width: 8%;
        }

        .journal-monthly-trade-table th:nth-child(5),
        .journal-monthly-trade-table td:nth-child(5) {
            width: 5%;
        }

        .journal-monthly-trade-table th:nth-child(6),
        .journal-monthly-trade-table td:nth-child(6) {
            width: 8%;
        }

        .journal-monthly-trade-table th:nth-child(7),
        .journal-monthly-trade-table td:nth-child(7),
        .journal-monthly-trade-table th:nth-child(8),
        .journal-monthly-trade-table td:nth-child(8),
        .journal-monthly-trade-table th:nth-child(10),
        .journal-monthly-trade-table td:nth-child(10) {
            width: 9%;
        }

        .journal-monthly-trade-table th:nth-child(9),
        .journal-monthly-trade-table td:nth-child(9) {
            width: 10%;
        }

        .journal-monthly-trade-table th:nth-child(11),
        .journal-monthly-trade-table td:nth-child(11) {
            width: 26%;
        }

        @media (max-width: 1180px) {
            .journal-monthly-trade-table {
                min-width: 1040px;
            }
        }

        @media (max-width: 760px) {
            .journal-trade-account-filter,
            .journal-trade-range-shell {
                align-items: stretch;
                justify-content: flex-start;
            }

            .journal-trade-account-filter {
                flex-direction: column;
            }

            .journal-trade-account-buttons,
            .journal-trade-range-selects {
                width: 100%;
            }

            .journal-trade-account-chip {
                flex: 1 1 0;
                min-width: 0;
            }
        }

        .journal-trade-card {
            border: 1px solid #d9e6f5;
            border-radius: 12px;
            background: #fff;
            padding: 14px 16px;
        }

        .journal-trade-card-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
        }

        .journal-trade-card-title {
            color: #10243f;
            font-size: 14px;
            line-height: 1.45;
            font-weight: 900;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .journal-trade-card-pill {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            min-height: 26px;
            padding: 0 10px;
            border-radius: 999px;
            background: #eff5ff;
            color: #1769e0;
            font-size: 12px;
            font-weight: 900;
            white-space: nowrap;
        }

        .journal-trade-card-grid {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 10px;
        }

        .journal-trade-metric {
            display: grid;
            gap: 4px;
            border: 1px solid #edf2f8;
            border-radius: 10px;
            background: #fbfdff;
            padding: 10px 12px;
        }

        .journal-trade-metric-wide {
            grid-column: span 3;
        }

        .journal-trade-metric span {
            color: #60758d;
            font-size: 11px;
            font-weight: 800;
            line-height: 1.25;
        }

        .journal-trade-metric strong {
            color: #10243f;
            font-size: 13px;
            line-height: 1.55;
            font-weight: 900;
            word-break: keep-all;
            overflow-wrap: anywhere;
        }

        .journal-trade-metric-stack strong {
            display: grid;
            gap: 2px;
        }

        .journal-trade-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .journal-trade-more-btn {
            border: 1px solid #cfe0ff;
            border-radius: 10px;
            background: #f8fbff;
            color: #1769e0;
            padding: 10px 16px;
            font-size: 13px;
            font-weight: 900;
            cursor: pointer;
        }

        .journal-trade-more-btn.secondary {
            background: #fff;
            color: #51657c;
            border-color: #d9e3ef;
        }

        .journal-trade-more-btn:hover,
        .journal-trade-more-btn:focus-visible {
            background: #edf5ff;
            border-color: #80adff;
            outline: none;
        }

        @media (max-width: 920px) {
            .journal-trade-account-filter {
                align-items: flex-start;
                flex-direction: column;
            }

            .journal-trade-account-buttons {
                justify-content: flex-start;
            }

            .journal-trade-range-shell {
                flex-direction: column;
                align-items: stretch;
                justify-content: flex-start;
            }

            .journal-trade-range-divider {
                padding-top: 0;
                text-align: center;
            }

            .journal-trade-range-group {
                flex: 1 1 auto;
                max-width: none;
                justify-items: stretch;
                text-align: left;
            }

            .journal-trade-range-group > span {
                text-align: left;
            }

            .journal-trade-card-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .journal-trade-metric-wide {
                grid-column: span 2;
            }
        }

        .journal-today-table {
            min-width: 1560px;
        }

        .journal-today-table thead th:last-child,
        .journal-trades-table thead th:last-child {
            min-width: 380px;
        }

        .journal-today-table th:nth-child(8),
        .journal-today-table th:nth-child(9),
        .journal-trades-table th:nth-child(8),
        .journal-trades-table th:nth-child(9) {
            min-width: 110px;
        }

        .journal-table .signal-badge,
        .journal-table .journal-side-pill {
            min-width: 96px;
        }

        .journal-today-table th:nth-child(1),
        .journal-today-table th:nth-child(2),
        .journal-today-table th:nth-child(3),
        .journal-today-table th:nth-child(5),
        .journal-today-table th:nth-child(10),
        .journal-holdings-table th:nth-child(1),
        .journal-holdings-table th:nth-child(2),
        .journal-holdings-table th:nth-child(4),
        .journal-trades-table th:nth-child(1),
        .journal-trades-table th:nth-child(2),
        .journal-trades-table th:nth-child(3),
        .journal-trades-table th:nth-child(4),
        .journal-trades-table th:nth-child(10) {
            text-align: center;
        }

        .journal-today-table th:nth-child(6),
        .journal-today-table th:nth-child(7),
        .journal-today-table th:nth-child(8),
        .journal-today-table th:nth-child(9),
        .journal-holdings-table th:nth-child(5),
        .journal-holdings-table th:nth-child(6),
        .journal-holdings-table th:nth-child(7),
        .journal-holdings-table th:nth-child(8),
        .journal-holdings-table th:nth-child(9),
        .journal-holdings-table th:nth-child(10),
        .journal-trades-table th:nth-child(6),
        .journal-trades-table th:nth-child(7),
        .journal-trades-table th:nth-child(8),
        .journal-trades-table th:nth-child(9) {
            text-align: right;
        }

        .journal-today-table th:nth-child(4),
        .journal-today-table th:nth-child(11),
        .journal-holdings-table th:nth-child(3),
        .journal-holdings-table th:nth-child(11),
        .journal-trades-table th:nth-child(5),
        .journal-trades-table th:nth-child(11) {
            text-align: left;
        }

        .journal-trades-table {
            width: 100%;
            min-width: 0;
            table-layout: fixed;
        }

        .journal-trades-table thead th:last-child {
            min-width: 0;
        }

        .journal-trades-table thead th,
        .journal-trades-table tbody td {
            padding: 14px 10px;
            font-size: 12px;
        }

        .journal-trades-table th:nth-child(1),
        .journal-trades-table td:nth-child(1) {
            width: 12%;
            text-align: center;
        }

        .journal-trades-table th:nth-child(2),
        .journal-trades-table td:nth-child(2) {
            width: 8%;
            text-align: center;
        }

        .journal-trades-table th:nth-child(3),
        .journal-trades-table td:nth-child(3) {
            width: 8%;
            text-align: center;
        }

        .journal-trades-table th:nth-child(4),
        .journal-trades-table td:nth-child(4) {
            width: 25%;
            text-align: left;
        }

        .journal-trades-table th:nth-child(5),
        .journal-trades-table td:nth-child(5),
        .journal-trades-table th:nth-child(6),
        .journal-trades-table td:nth-child(6) {
            width: 9%;
            text-align: right;
        }

        .journal-trades-table th:nth-child(7),
        .journal-trades-table td:nth-child(7) {
            width: 11%;
            text-align: left;
        }

        .journal-trades-table th:nth-child(8),
        .journal-trades-table td:nth-child(8) {
            width: 18%;
            text-align: left;
            min-width: 0;
        }

        .journal-trades-table td:nth-child(4),
        .journal-trades-table td:nth-child(7),
        .journal-trades-table td:nth-child(8) {
            min-width: 0;
            white-space: normal;
            word-break: keep-all;
            overflow-wrap: anywhere;
            line-height: 1.55;
        }

        .journal-cell-date,
        .journal-cell-code,
        .journal-cell-type,
        .journal-cell-signal {
            text-align: center;
        }

        .journal-cell-price,
        .journal-cell-money,
        .journal-cell-qty,
        .journal-today-table td:nth-child(6),
        .journal-today-table td:nth-child(7),
        .journal-today-table td:nth-child(8),
        .journal-today-table td:nth-child(9),
        .journal-holdings-table td:nth-child(5),
        .journal-holdings-table td:nth-child(6),
        .journal-holdings-table td:nth-child(7),
        .journal-holdings-table td:nth-child(8),
        .journal-holdings-table td:nth-child(9),
        .journal-holdings-table td:nth-child(10),
        .journal-trades-table td:nth-child(6),
        .journal-trades-table td:nth-child(7),
        .journal-trades-table td:nth-child(8),
        .journal-trades-table td:nth-child(9) {
            text-align: right;
        }

        .journal-cell-name,
        .journal-cell-rationale {
            text-align: left;
        }

        .journal-today-table th:nth-child(1),
        .journal-today-table th:nth-child(2),
        .journal-today-table th:nth-child(3),
        .journal-today-table th:nth-child(4),
        .journal-today-table th:nth-child(6),
        .journal-today-table th:nth-child(11),
        .journal-today-table td:nth-child(1),
        .journal-today-table td:nth-child(2),
        .journal-today-table td:nth-child(3),
        .journal-today-table td:nth-child(4),
        .journal-today-table td:nth-child(6),
        .journal-today-table td:nth-child(11),
        .journal-holdings-table th:nth-child(1),
        .journal-holdings-table th:nth-child(2),
        .journal-holdings-table th:nth-child(4),
        .journal-holdings-table td:nth-child(1),
        .journal-holdings-table td:nth-child(2),
        .journal-holdings-table td:nth-child(4),
        .journal-trades-table th:nth-child(1),
        .journal-trades-table th:nth-child(2),
        .journal-trades-table th:nth-child(3),
        .journal-trades-table th:nth-child(4),
        .journal-trades-table th:nth-child(10),
        .journal-trades-table td:nth-child(1),
        .journal-trades-table td:nth-child(2),
        .journal-trades-table td:nth-child(3),
        .journal-trades-table td:nth-child(4),
        .journal-trades-table td:nth-child(10) {
            text-align: center;
        }

        .journal-today-table th:nth-child(7),
        .journal-today-table th:nth-child(8),
        .journal-today-table th:nth-child(9),
        .journal-today-table th:nth-child(10),
        .journal-today-table td:nth-child(7),
        .journal-today-table td:nth-child(8),
        .journal-today-table td:nth-child(9),
        .journal-today-table td:nth-child(10),
        .journal-holdings-table th:nth-child(5),
        .journal-holdings-table th:nth-child(6),
        .journal-holdings-table th:nth-child(7),
        .journal-holdings-table th:nth-child(8),
        .journal-holdings-table th:nth-child(9),
        .journal-holdings-table th:nth-child(10),
        .journal-holdings-table td:nth-child(5),
        .journal-holdings-table td:nth-child(6),
        .journal-holdings-table td:nth-child(7),
        .journal-holdings-table td:nth-child(8),
        .journal-holdings-table td:nth-child(9),
        .journal-holdings-table td:nth-child(10),
        .journal-trades-table th:nth-child(6),
        .journal-trades-table th:nth-child(7),
        .journal-trades-table th:nth-child(8),
        .journal-trades-table th:nth-child(9),
        .journal-trades-table td:nth-child(6),
        .journal-trades-table td:nth-child(7),
        .journal-trades-table td:nth-child(8),
        .journal-trades-table td:nth-child(9) {
            text-align: right;
            font-variant-numeric: tabular-nums;
        }

        .journal-today-table th:nth-child(5),
        .journal-today-table th:nth-child(12),
        .journal-today-table th:nth-child(13),
        .journal-today-table td:nth-child(5),
        .journal-today-table td:nth-child(12),
        .journal-today-table td:nth-child(13),
        .journal-holdings-table th:nth-child(3),
        .journal-holdings-table th:nth-child(11),
        .journal-holdings-table td:nth-child(3),
        .journal-holdings-table td:nth-child(11),
        .journal-trades-table th:nth-child(5),
        .journal-trades-table th:nth-child(11),
        .journal-trades-table th:nth-child(12),
        .journal-trades-table td:nth-child(5),
        .journal-trades-table td:nth-child(11),
        .journal-trades-table td:nth-child(12) {
            text-align: left;
        }

        .signal-strong-buy {
            background: #eaf5ea;
            color: #4f8b64;
            border-color: #cde5d1;
        }

        .signal-buy {
            background: #f4ecfb;
            color: #b06ed1;
            border-color: #e2cfef;
        }

        .signal-neutral {
            background: #edf3f8;
            color: #6f89a1;
            border-color: #d7e1eb;
        }

        .signal-sell {
            background: #fff1eb;
            color: #b25b5b;
            border-color: #f2d1c3;
        }

        @media (max-width: 1200px) {
            .utility-hero,
            .portfolio-layout,
            .help-layout,
            .mobile-layout {
                grid-template-columns: 1fr;
            }

            .utility-stat-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 768px) {
            .utility-hero-title {
                font-size: 24px;
            }

            .utility-stat-grid,
            .favorite-metrics {
                grid-template-columns: 1fr;
            }

            .journal-summary-grid .utility-stat-value {
                font-size: 28px;
            }

            .journal-month-card {
                padding: 22px 18px 28px;
            }

            .journal-query-mode-header,
            .journal-current-view-banner,
            .journal-lookup-compact {
                grid-template-columns: 1fr;
            }

            .journal-lookup-date-row {
                grid-template-columns: minmax(0, 1fr) 82px;
            }

            .journal-query-mode-segmented {
                width: 100%;
            }

            .journal-query-mode-chip {
                flex: 1 1 0;
                min-width: 0;
            }

            .journal-month-grid-labels {
                grid-template-columns: 1fr;
            }

            .journal-month-query-row {
                grid-template-columns: 1fr;
            }

            .journal-month-actions,
            .journal-month-load-btn {
                width: 100%;
            }

            .journal-month-meta {
                align-items: flex-start;
            }

            .journal-month-meta-inline {
                justify-content: flex-start;
            }

            .journal-month-control-row {
                align-items: stretch;
            }

            .journal-year-select {
                width: 100%;
            }

            .journal-table thead th,
            .journal-table tbody td {
                padding: 14px 16px;
            }

            .rule-row {
                grid-template-columns: 1fr;
            }

            .portfolio-table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }
        }
/* Dashboard AI insight refinements */
.dashboard-section .ai-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 38px;
  padding: 5px 7px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #f8fbff;
  color: #1769e0;
  font-weight: 800;
  font-size: 0.76rem;
  line-height: 1.08;
  text-decoration: none;
  white-space: normal;
  gap: 2px;
  flex-direction: column;
}

.yesterday-analysis-section {
  --ya-blue: #0b63ff;
  --ya-navy: #08284a;
  --ya-line: #cfe0f5;
  --ya-soft: #f6faff;
  --ya-green: #04945f;
  --ya-red: #ef3434;
}

.ya-shell { display: flex; flex-direction: column; gap: 22px; }
.ya-panel { background: rgba(255,255,255,.96); border: 1px solid var(--ya-line); border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(8,40,74,.06); }
.ya-hero-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 24px; align-items: start; }
.ya-overview-panel { display: flex; flex-direction: column; gap: 18px; }
.ya-overview-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 28px; align-items: start; padding-bottom: 6px; }
.ya-overview-head .ya-page-subtitle { margin-bottom: 18px; }
.ya-overview-head .ya-date-control { margin-left: auto; width: 100%; max-width: 420px; }
.ya-page-title { font-size: 34px; line-height: 1.18; font-weight: 900; color: var(--ya-navy); margin-bottom: 10px; }
.ya-page-subtitle { color: #304761; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.ya-notice, .ya-status { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid #a8c8ff; border-radius: 10px; padding: 10px 14px; background: #f6faff; color: var(--ya-blue); font-size: 13px; font-weight: 800; }
.ya-notice span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: var(--ya-blue); color: #fff; }
.ya-status-error { border-color: #ffc8c8; color: var(--ya-red); background: #fff7f7; }
.ya-status-empty { border-color: #f4d19c; color: #a86400; background: #fffaf0; }
.ya-section-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid #d8e5f3; margin-bottom: 18px; }
.ya-section-head h2 { color: var(--ya-navy); font-size: 24px; line-height: 1.25; font-weight: 900; margin-bottom: 6px; }
.ya-section-head p { color: #3d536d; font-size: 14px; font-weight: 700; }
.ya-date-badge { min-width: 220px; border: 1px solid var(--ya-line); border-radius: 14px; padding: 16px; background: var(--ya-soft); }
.ya-date-badge span, .ya-date-badge small { display: block; color: #55708c; font-size: 12px; font-weight: 800; }
.ya-date-badge strong { display: block; color: var(--ya-navy); font-size: 19px; font-weight: 900; margin: 8px 0 4px; }
.ya-summary-card { border: 1px solid var(--ya-line); border-radius: 14px; padding: 22px; background: linear-gradient(135deg,#f8fbff,#fff); margin-bottom: 16px; }
.ya-overview-summary { margin-bottom: 0; padding: 28px 30px; }
.ya-overview-grid { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ya-index-stack { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ya-overview-supply-card { display: flex; flex-direction: column; justify-content: center; min-height: 100%; }
.ya-summary-card strong { display: block; color: var(--ya-navy); font-size: 26px; line-height: 1.35; font-weight: 900; margin-bottom: 10px; }
.ya-overview-summary strong { font-size: 30px; line-height: 1.35; }
.ya-summary-card p, .ya-mini-card p, .ya-evidence-card p { color: #0b2748; font-size: 14px; line-height: 1.75; font-weight: 700; }
.ya-index-grid, .ya-supply-layout, .ya-sector-grid, .ya-detail-grid, .ya-metric-grid, .ya-candidate-grid, .ya-strategy-grid, .ya-global-industry-grid { display: grid; gap: 16px; }
.ya-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 16px; }
.ya-index-card, .ya-mini-card, .ya-metric-card, .ya-candidate-card, .ya-table-card, .ya-evidence-card { border: 1px solid var(--ya-line); border-radius: 14px; background: #fff; padding: 18px; }
.ya-index-card span, .ya-metric-card span { display: block; color: var(--ya-navy); font-size: 14px; font-weight: 900; margin-bottom: 8px; }
.ya-index-card strong, .ya-metric-card strong { display: block; color: var(--ya-navy); font-size: 30px; line-height: 1; font-weight: 900; margin-bottom: 6px; }
.ya-index-card.is-up strong, .ya-index-card.is-up .ya-index-change { color: var(--market-up-text); }
.ya-index-card.is-down strong, .ya-index-card.is-down .ya-index-change { color: var(--market-down-text); }
.ya-index-card.is-flat strong, .ya-index-card.is-flat .ya-index-change { color: #64748b; }
.ya-index-change { display: block; margin: 0 0 10px; font-size: 15px; line-height: 1.2; font-style: normal; font-weight: 900; letter-spacing: 0; }
.ya-index-card p, .ya-metric-card p { color: #0b2748; font-size: 13px; line-height: 1.6; font-weight: 700; }
.ya-supply-layout { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: stretch; }
.ya-supply-row { display: grid; grid-template-columns: 100px 100px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid #e4edf7; align-items: start; font-size: 14px; font-weight: 800; }
.ya-supply-row:last-child { border-bottom: 0; }
.ya-supply-row p { color: #0b2748; line-height: 1.6; font-weight: 700; }
.ya-flow-buy { color: var(--ya-green); } .ya-flow-sell { color: #ff6b2c; } .ya-flow-neutral { color: #61748b; }
.ya-mini-card-grid, .ya-sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ya-sector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ya-detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ya-mini-card h3, .ya-candidate-card h3, .ya-table-card h3, .ya-evidence-card h3 { color: var(--ya-navy); font-size: 17px; line-height: 1.35; font-weight: 900; margin-bottom: 10px; }
.ya-sector-summary-table { margin: 12px 0 10px; }
.ya-sector-table-wrap { overflow-x: auto; border: 1px solid var(--ya-line); border-radius: 10px; background: #fff; }
.ya-sector-summary-table table { width: 100%; min-width: 720px; border-collapse: collapse; }
.ya-sector-summary-table th { background: var(--ya-navy); color: #fff; text-align: left; padding: 12px 16px; font-size: 13px; line-height: 1.35; font-weight: 900; }
.ya-sector-summary-table td { padding: 12px 16px; border-bottom: 1px solid #d9e6f4; color: #0b2748; font-size: 13px; line-height: 1.55; font-weight: 800; word-break: keep-all; }
.ya-sector-summary-table tr:last-child td { border-bottom: 0; }
.ya-sector-summary-table td:nth-child(1) { width: 120px; }
.ya-sector-summary-table td:nth-child(2) { width: 180px; }
.ya-sector-summary-table td:nth-child(3) { width: 120px; font-weight: 900; }
.ya-sector-positive { color: var(--ya-red) !important; }
.ya-sector-negative { color: var(--ya-blue) !important; }
.ya-sector-card { min-height: 138px; border: 1px solid var(--ya-line); border-radius: 14px; background: #fff; padding: 18px; text-align: left; color: var(--ya-navy); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.ya-sector-card:hover, .ya-sector-card.active { border-color: var(--ya-blue); box-shadow: 0 12px 26px rgba(11, 99, 255, .12); transform: translateY(-1px); }
.ya-sector-card-up { background: #f3fff8; border-color: #a9e9ca; }
.ya-sector-card-down { background: #fff8f6; border-color: #ffc8bc; }
.ya-sector-card-neutral { background: #f7fbff; }
.ya-sector-name { display: block; font-size: 15px; line-height: 1.35; font-weight: 900; margin-bottom: 10px; }
.ya-sector-card strong { display: block; color: var(--ya-red); font-size: 24px; line-height: 1.1; font-weight: 900; margin-bottom: 8px; }
.ya-sector-card-up strong { color: var(--ya-red); }
.ya-sector-card-down strong { color: var(--ya-blue); }
.ya-sector-card p { color: #0b2748; font-size: 13px; line-height: 1.65; font-weight: 800; word-break: keep-all; }
.ya-sector-detail { margin-top: 18px; }
.ya-sector-detail-card { border: 1px solid var(--ya-line); border-radius: 14px; background: #f8fbff; padding: 22px 24px; }
.ya-sector-detail-card-modal { background: #fff; }
.ya-sector-detail-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ya-sector-detail-head span { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 10px; border-radius: 999px; background: #e8f2ff; color: var(--ya-blue); font-size: 12px; font-weight: 900; }
.ya-sector-detail-head h3 { color: var(--ya-navy); font-size: 22px; line-height: 1.35; font-weight: 900; }
.ya-sector-detail-card p { color: #0b2748; font-size: 15px; line-height: 1.9; font-weight: 800; white-space: pre-line; word-break: keep-all; }
.ya-sector-modal { display: grid; gap: 16px; }
.ya-sector-modal-ad { min-height: 180px; border-radius: 14px; box-shadow: none; }
.ya-sector-modal-ad .layout-ad-slot { min-height: 180px; }
.ya-sector-modal-loading { border: 1px dashed var(--ya-line); border-radius: 14px; background: #f8fbff; color: #506a86; padding: 16px 18px; font-size: 13px; line-height: 1.6; font-weight: 900; text-align: center; }
.ya-sector-modal-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 18px; align-items: stretch; border: 1px solid var(--ya-line); border-radius: 16px; background: linear-gradient(135deg, #f8fbff, #fff); padding: 18px; }
.ya-sector-modal-hero-positive { border-color: #a9e9ca; background: linear-gradient(135deg, #f3fff8, #fff); }
.ya-sector-modal-hero-negative { border-color: #ffc8bc; background: linear-gradient(135deg, #fff8f6, #fff); }
.ya-sector-modal-hero > div:first-child { display: grid; align-content: center; gap: 8px; }
.ya-sector-modal-hero span { color: #5d7088; font-size: 12px; font-weight: 900; }
.ya-sector-modal-hero strong { color: var(--ya-navy); font-size: 22px; line-height: 1.35; font-weight: 900; }
.ya-sector-modal-hero p { color: #1f3550; font-size: 14px; line-height: 1.75; font-weight: 800; margin: 0; word-break: keep-all; }
.ya-sector-modal-kpis { display: grid; align-content: center; gap: 8px; border: 1px solid #dbe7f5; border-radius: 14px; background: rgba(255, 255, 255, .82); padding: 12px 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); }
.ya-sector-modal-kpis article { display: grid; grid-template-columns: minmax(88px, .72fr) minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; padding: 7px 0; border-bottom: 1px solid #edf3fa; }
.ya-sector-modal-kpis article:last-child { border-bottom: 0; }
.ya-sector-modal-kpis span { display: block; margin: 0; color: #60758d; font-size: 12px; line-height: 1.25; white-space: nowrap; }
.ya-sector-modal-kpis strong { display: block; color: var(--ya-navy); font-size: 15px; line-height: 1.35; text-align: right; white-space: normal; word-break: keep-all; overflow-wrap: anywhere; }
.ya-sector-modal-kpis strong.positive { color: var(--ya-red); }
.ya-sector-modal-kpis strong.negative { color: var(--ya-blue); }
.ya-sector-modal-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ya-sector-modal-detail-card { border: 1px solid #dbe7f5; border-radius: 14px; background: #fff; padding: 15px 16px; }
.ya-sector-modal-detail-card span { display: inline-flex; align-items: center; width: fit-content; min-height: 24px; padding: 0 10px; border-radius: 999px; background: #eef5ff; color: #1269ff; font-size: 12px; line-height: 1; font-weight: 900; margin-bottom: 10px; }
.ya-sector-modal-detail-card p { margin: 0; color: #203348; font-size: 13px; line-height: 1.78; font-weight: 750; white-space: pre-wrap; word-break: keep-all; }
.ya-sector-modal-detail-card-green { background: #f7fffa; border-color: #bee9d2; }
.ya-sector-modal-detail-card-green span { background: #e3f8ed; color: #008a52; }
.ya-sector-modal-detail-card-blue { background: #f7fbff; border-color: #c8dcff; }
.ya-sector-modal-detail-card-orange { background: #fffaf3; border-color: #ffd9a8; }
.ya-sector-modal-detail-card-orange span { background: #fff0da; color: #c96300; }
.ya-sector-modal-action-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ya-sector-modal-action-row article { border: 1px solid #dbe7f5; border-radius: 14px; background: #fbfdff; padding: 14px 16px; }
.ya-sector-modal-action-row span { display: block; color: #60758d; font-size: 12px; font-weight: 900; margin-bottom: 8px; }
.ya-sector-modal-action-row strong { display: block; color: #0b2748; font-size: 13px; line-height: 1.65; font-weight: 900; word-break: keep-all; }
.ya-global-industry-content { display: grid; gap: 16px; }
.ya-global-industry-panel { border: 1px solid var(--ya-line); border-radius: 14px; background: #f8fbff; padding: 22px 24px; }
.ya-global-industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ya-global-industry-card { border: 1px solid var(--ya-line); border-radius: 14px; background: #fff; padding: 18px; min-height: 170px; }
.ya-global-industry-card h3 { color: var(--ya-navy); font-size: 17px; line-height: 1.35; font-weight: 900; margin-bottom: 10px; }
.ya-global-industry-card p { color: #0b2748; font-size: 14px; line-height: 1.85; font-weight: 800; white-space: pre-line; word-break: keep-all; }
.ya-sector-grid .ya-mini-card p,
.ya-detail-grid .ya-mini-card p {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ya-mini-card-sector, .ya-mini-card-industry { background: #f7fbff; }
.ya-mini-card-etf, .ya-mini-card-blue { background: #f6f9ff; }
.ya-mini-card-strategy { background: #fffdf8; }
.ya-tab-stack { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ya-tab-row, .ya-filter-chip-row, .ya-evidence-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ya-tab, .ya-filter-chip, .ya-evidence-tab { border: 1px solid var(--ya-line); border-radius: 10px; background: #f7fbff; color: var(--ya-navy); padding: 9px 14px; font-size: 13px; font-weight: 900; cursor: pointer; }
.ya-tab.active, .ya-filter-chip.active, .ya-evidence-tab.active { background: var(--ya-navy); border-color: var(--ya-navy); color: #fff; box-shadow: 0 8px 18px rgba(8,40,74,.18); }
.ya-filter-chip small { display: block; opacity: .72; font-size: 11px; line-height: 1.2; margin-top: 3px; }
.ya-filter-chip-row { margin-bottom: 16px; }
.ya-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
.ya-info-strip { border: 1px solid #b8d5ff; border-radius: 10px; background: #f7fbff; color: #0066ff; padding: 11px 14px; font-size: 13px; font-weight: 900; margin: 12px 0 16px; }
.ya-supply-summary-card { border: 1px solid var(--ya-line); border-radius: 14px; background: #fff; padding: 20px 22px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 18px; align-items: center; min-height: 112px; }
.ya-supply-summary-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #eaf3ff; color: #1269ff; font-size: 24px; font-weight: 900; }
.ya-supply-summary-card-foreign .ya-supply-summary-icon { color: #1269ff; }
.ya-supply-summary-card-institution .ya-supply-summary-icon { color: #2866d8; }
.ya-supply-summary-card-individual .ya-supply-summary-icon { color: #ff7a00; }
.ya-supply-summary-body span { display: block; color: var(--ya-navy); font-size: 14px; font-weight: 900; margin-bottom: 6px; }
.ya-supply-summary-body strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 900; margin-bottom: 5px; }
.ya-supply-summary-body strong.positive { color: #009a52; }
.ya-supply-summary-body strong.negative { color: var(--ya-blue); }
.ya-supply-summary-body strong.neutral { color: #64758b; }
.ya-supply-summary-body p { color: #0b2748; font-size: 13px; line-height: 1.55; font-weight: 800; margin: 0; }
.ya-supply-summary-arrow { color: #1269ff; font-size: 24px; font-weight: 900; }
.ya-supply-filter-panel { border: 1px solid var(--ya-line); border-radius: 14px; background: #f8fbff; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; overflow: hidden; }
.ya-supply-filter-group { padding: 18px 20px; }
.ya-supply-filter-group + .ya-supply-filter-group { border-left: 1px solid var(--ya-line); }
.ya-supply-filter-group strong { display: block; color: var(--ya-navy); font-size: 13px; font-weight: 900; margin-bottom: 12px; }
.ya-supply-search-panel {
  display: grid;
  gap: 8px;
  margin: -6px 0 18px;
  padding: 16px 18px;
  border: 1px solid var(--ya-line);
  border-radius: 14px;
  background: #f8fbff;
}
.ya-supply-search-panel label {
  color: var(--ya-navy);
  font-size: 13px;
  font-weight: 900;
}
.ya-supply-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.ya-supply-search-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #b9d4ff;
  border-radius: 10px;
  background: #fff;
  color: var(--ya-navy);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
  outline: none;
}
.ya-supply-search-row input:focus {
  border-color: #1269ff;
  box-shadow: 0 0 0 3px rgba(18, 105, 255, .12);
}
.ya-supply-search-row button {
  min-height: 42px;
  border: 1px solid #b9d4ff;
  border-radius: 10px;
  background: #fff;
  color: var(--ya-navy);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.ya-supply-search-row button:hover {
  background: #edf5ff;
  border-color: #7fb0ff;
}
.ya-supply-search-panel p {
  margin: 0;
  color: #51667f;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
}
.ya-focused-supply-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.ya-focused-supply-head h3 { color: var(--ya-navy); font-size: 18px; line-height: 1.25; font-weight: 900; margin: 0 0 4px; }
.ya-focused-supply-head p { color: #506a86; font-size: 12px; line-height: 1.5; font-weight: 800; margin: 0; }
.ya-focused-supply-head span { border-radius: 999px; background: #eef5ff; color: #1269ff; padding: 7px 12px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.ya-data-table { overflow-x: auto; }
.ya-data-table table { width: 100%; border-collapse: collapse; min-width: 720px; border: 1px solid var(--ya-line); border-radius: 12px; overflow: hidden; }
.ya-data-table th { background: var(--ya-navy); color: #fff; text-align: left; padding: 13px 14px; font-size: 13px; font-weight: 900; }
.ya-data-table td { padding: 14px; border-bottom: 1px solid #e3edf8; color: #0b2748; font-size: 13px; line-height: 1.7; font-weight: 700; }
.ya-data-table .ya-quote-head { width: 82px; min-width: 82px; text-align: center; white-space: normal; word-break: keep-all; line-height: 1.35; }
.ya-data-table .ya-quote-cell { width: 82px; min-width: 82px; text-align: center; vertical-align: middle; padding-left: 10px; padding-right: 10px; }
.ya-data-table .ai-quote-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px;
  min-width: 58px;
  min-height: 58px;
  padding: 6px 5px;
  border: 1px solid #bcd4ff;
  border-radius: 8px;
  background: #f9fbff;
  color: #1265e8;
  font-size: 11px;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  word-break: keep-all;
  white-space: normal;
  box-shadow: 0 4px 12px rgba(18, 101, 232, 0.08);
}
.ya-data-table .ai-quote-btn:hover,
.ya-data-table .ai-quote-btn:focus-visible { border-color: #80adff; background: #edf5ff; }
.ya-data-table .ai-quote-btn .quote-button-text { display: block; white-space: nowrap; }
.ya-data-table .ai-quote-btn .quote-button-icon { display: block; margin-top: 3px; font-size: 12px; line-height: 1; }
#yaSupplyFocusedTable { overflow-x: visible; }
#yaSupplyFocusedTable .ya-focused-supply-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ya-line);
  border-radius: 12px 12px 0 0;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
#yaSupplyFocusedTable table {
  width: 100%;
  min-width: 1660px;
  table-layout: fixed;
  border: 0;
  border-radius: 0;
}
#yaSupplyFocusedTable th,
#yaSupplyFocusedTable td {
  height: auto;
  padding: 12px 10px;
  overflow-wrap: anywhere;
  word-break: keep-all;
  vertical-align: top;
}
#yaSupplyFocusedTable th { line-height: 1.35; }
#yaSupplyFocusedTable tbody tr { height: auto; }
#yaSupplyFocusedTable tbody td { background: #fff; }
#yaSupplyFocusedTable th:first-child,
#yaSupplyFocusedTable td:first-child { width: 58px; text-align: center; }
#yaSupplyFocusedTable th:nth-child(2),
#yaSupplyFocusedTable td:nth-child(2) { width: 190px; }
#yaSupplyFocusedTable th:nth-child(3),
#yaSupplyFocusedTable td:nth-child(3) { width: 86px; text-align: center; }
#yaSupplyFocusedTable th:nth-child(4),
#yaSupplyFocusedTable td:nth-child(4) { width: 82px; }
#yaSupplyFocusedTable th:nth-child(5),
#yaSupplyFocusedTable td:nth-child(5) { width: 112px; }
#yaSupplyFocusedTable th:nth-child(6),
#yaSupplyFocusedTable td:nth-child(6) { width: 86px; }
#yaSupplyFocusedTable th:nth-child(7),
#yaSupplyFocusedTable td:nth-child(7) { width: 140px; }
#yaSupplyFocusedTable th:nth-child(8),
#yaSupplyFocusedTable td:nth-child(8) { width: 180px; }
#yaSupplyFocusedTable th:nth-child(9),
#yaSupplyFocusedTable td:nth-child(9) { width: 730px; }
#yaSupplyFocusedTable .ya-quote-cell {
  vertical-align: top;
  padding-top: 10px;
}
#yaSupplyFocusedTable .ai-quote-btn {
  width: 54px;
  min-width: 54px;
  min-height: 42px;
  padding: 5px 4px;
  font-size: 10px;
  line-height: 1.15;
}
#yaSupplyFocusedTable .ai-quote-btn .quote-button-text {
  white-space: normal;
}
#yaSupplyFocusedTable .ai-quote-btn .quote-button-icon {
  margin-top: 2px;
}
.ya-supply-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--ya-line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #f8fbff;
}
.ya-supply-pagination span {
  color: #51667f;
  font-size: 12px;
  font-weight: 900;
}
.ya-supply-pagination-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.ya-supply-pagination-actions strong {
  min-width: 54px;
  color: var(--ya-navy);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}
.ya-supply-page-button {
  border: 1px solid #b9d4ff;
  border-radius: 8px;
  background: #fff;
  color: #0059ff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  padding: 8px 12px;
}
.ya-supply-page-button:hover:not(:disabled) {
  background: #edf5ff;
  border-color: #7fb0ff;
}
.ya-supply-page-button:disabled {
  color: #91a6bf;
  cursor: not-allowed;
  opacity: 0.58;
}
.ya-supply-trend-panel {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #dce7f6;
}
.ya-supply-trend-periods {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--ya-line);
  border-radius: 12px;
  background: #f8fbff;
}
.ya-supply-trend-periods strong {
  color: var(--ya-navy);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.ya-supply-trend-search-panel {
  margin: 0 0 14px;
}
#yaSupplyTrendTable { overflow-x: visible; }
#yaSupplyTrendTable .ya-focused-supply-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ya-line);
  border-radius: 12px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
#yaSupplyTrendTable table {
  width: 100%;
  min-width: 1540px;
  table-layout: fixed;
  border: 0;
  border-radius: 0;
}
#yaSupplyTrendTable th,
#yaSupplyTrendTable td {
  height: auto;
  padding: 12px 10px;
  overflow-wrap: anywhere;
  word-break: keep-all;
  vertical-align: top;
}
#yaSupplyTrendTable th { line-height: 1.35; }
#yaSupplyTrendTable tbody td { background: #fff; }
#yaSupplyTrendTable th:first-child,
#yaSupplyTrendTable td:first-child { width: 58px; text-align: center; }
#yaSupplyTrendTable th:nth-child(2),
#yaSupplyTrendTable td:nth-child(2) { width: 180px; }
#yaSupplyTrendTable th:nth-child(3),
#yaSupplyTrendTable td:nth-child(3) { width: 100px; text-align: center; }
#yaSupplyTrendTable th:nth-child(4),
#yaSupplyTrendTable td:nth-child(4) { width: 80px; }
#yaSupplyTrendTable th:nth-child(5),
#yaSupplyTrendTable td:nth-child(5) { width: 160px; }
#yaSupplyTrendTable th:nth-child(6),
#yaSupplyTrendTable td:nth-child(6) { width: 150px; }
#yaSupplyTrendTable th:nth-child(7),
#yaSupplyTrendTable td:nth-child(7) { width: 120px; }
#yaSupplyTrendTable th:nth-child(8),
#yaSupplyTrendTable td:nth-child(8) { width: 150px; }
#yaSupplyTrendTable th:nth-child(9),
#yaSupplyTrendTable td:nth-child(9) { width: 116px; }
#yaSupplyTrendTable th:nth-child(10),
#yaSupplyTrendTable td:nth-child(10) { width: 520px; }
.ya-supply-insight-main { display: block; color: var(--ya-navy); font-size: 13px; line-height: 1.35; font-weight: 900; }
.ya-supply-insight-sub { display: block; color: #60758d; font-size: 11px; line-height: 1.45; font-weight: 800; margin-top: 3px; }
.ya-supply-point-cell { color: #0b2748; font-weight: 800; }
.ya-supply-insight-button { margin: 0 0 7px; }
.ya-supply-name-insight-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  width: 100%;
  max-width: 170px;
  min-height: 28px;
  padding: 6px 8px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}
.ya-supply-strategy-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  max-height: 38px;
  overflow: hidden;
  color: #0b2748;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 900;
  word-break: keep-all;
}
.ya-supply-strategy-clamp .ya-supply-insight-main,
.ya-supply-strategy-clamp .ya-supply-insight-sub {
  display: inline;
  font-size: inherit;
  line-height: inherit;
  margin-top: 0;
}
.ya-supply-strategy-clamp .ya-supply-insight-main::after { content: " · "; color: #60758d; }
.ya-supply-detail-text-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ya-supply-detail-text-block { border: 1px solid #dce7f6; border-radius: 10px; background: #f8fbff; padding: 12px; }
.ya-supply-detail-text-block span { display: block; color: #51667f; font-size: 12px; line-height: 1.25; font-weight: 900; margin-bottom: 6px; }
.ya-supply-detail-text-block p { margin: 0; color: #0b2748; font-size: 13px; line-height: 1.55; font-weight: 800; white-space: pre-wrap; }
.ya-supply-trend-detail-modal .ya-supply-modal-hero-metrics article:first-child {
  grid-column: span 2;
}
.ya-supply-trend-chart-card {
  border: 1px solid #dce7f6;
  border-radius: 14px;
  background: #f8fbff;
  padding: 16px;
}
.ya-supply-trend-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ya-supply-trend-chart-head strong {
  color: #052749;
  font-size: 14px;
  font-weight: 900;
}
.ya-supply-trend-chart-head span {
  color: #51667f;
  font-size: 12px;
  font-weight: 900;
}
.ya-supply-trend-chart {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #fff;
}
.ya-supply-trend-chart .axis {
  stroke: #c9d8eb;
  stroke-width: 1.5;
}
.ya-supply-trend-chart .area {
  fill: rgba(18, 105, 255, .08);
}
.ya-supply-trend-chart .line {
  fill: none;
  stroke: #1269ff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ya-supply-trend-chart circle {
  fill: #fff;
  stroke: #1269ff;
  stroke-width: 3;
}
.ya-supply-trend-chart text {
  fill: #052749;
  font-size: 12px;
  font-weight: 900;
}
.ya-supply-trend-chart text.date {
  fill: #60758d;
  font-size: 11px;
}
.ya-supply-trend-chart-card p,
.ya-supply-trend-chart-empty {
  margin: 10px 0 0;
  color: #51667f;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 800;
}
.ya-supply-trend-chart-empty {
  border: 1px dashed #c9d8eb;
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  text-align: center;
}
#industryModal.ya-supply-modal-active .modal-content {
  max-width: 980px;
  padding: 26px;
}
.ya-supply-detail-modal {
  gap: 18px;
}
.ya-supply-modal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid #cfe0f4;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}
.ya-supply-modal-hero-copy span {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1269ff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
}
.ya-supply-modal-hero-copy h3 {
  margin: 0 0 8px;
  color: #052749;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  word-break: keep-all;
}
.ya-supply-modal-hero-copy p {
  margin: 0;
  color: #294763;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 800;
  word-break: keep-all;
}
.ya-supply-modal-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ya-supply-modal-hero-metrics article,
.ya-supply-detail-modal .ai-core-detail-grid article {
  min-width: 0;
  border: 1px solid #dce7f6;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}
.ya-supply-modal-hero-metrics span,
.ya-supply-detail-modal .ai-core-detail-grid article span {
  display: block;
  color: #5e748c;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 7px;
}
.ya-supply-modal-hero-metrics strong,
.ya-supply-detail-modal .ai-core-detail-grid article strong {
  display: block;
  color: #082b52;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.ya-supply-modal-summary {
  display: grid;
  gap: 8px;
  border: 1px solid #bcd4ff;
  border-radius: 14px;
  background: #f5f9ff;
  padding: 14px 16px;
}
.ya-supply-modal-summary strong {
  color: #052749;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}
.ya-supply-modal-summary ul,
.ya-supply-detail-modal .dashboard-modal-list {
  margin: 0;
  padding-left: 18px;
}
.ya-supply-modal-summary li {
  color: #0b2748;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}
.ya-supply-detail-modal .dashboard-modal-section {
  gap: 12px;
  padding-top: 2px;
}
.ya-supply-detail-modal .dashboard-modal-section h3 {
  font-size: 16px;
  line-height: 1.3;
}
.ya-supply-detail-modal .ai-core-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ya-supply-detail-modal .ya-supply-detail-text-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.ya-table-caption { color: #46627f; font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.ya-supply-name { display: block; color: var(--ya-navy); font-size: 13px; font-weight: 900; line-height: 1.35; }
.ya-supply-code { display: block; color: #61748d; font-size: 11px; font-weight: 800; margin-top: 2px; }
.ya-supply-return-positive, .ya-supply-value-positive { color: var(--ya-red) !important; font-weight: 900 !important; }
.ya-supply-return-negative, .ya-supply-value-negative { color: var(--ya-blue) !important; font-weight: 900 !important; }
.ya-table-empty { text-align: center; color: #64758b !important; padding: 26px 14px !important; }
.ya-candidate-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ya-candidate-card ul { list-style: none; display: grid; gap: 12px; }
.ya-candidate-card li { color: var(--ya-navy); font-size: 14px; font-weight: 900; }
.ya-candidate-card li span { display: block; color: #506a86; font-size: 12px; line-height: 1.55; margin-top: 4px; font-weight: 700; }
.ya-market-signal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ya-market-signal-chip { border: 1px solid var(--ya-line); border-radius: 12px; background: #f7fbff; color: var(--ya-navy); padding: 10px 12px; text-align: left; font-size: 12px; line-height: 1.25; font-weight: 900; cursor: pointer; min-width: 188px; flex: 1 1 188px; }
.ya-market-signal-chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; margin-left: 8px; border-radius: 999px; background: #eaf2ff; color: #1269ff; padding: 3px 8px; font-size: 11px; line-height: 1.2; font-weight: 900; }
.ya-market-signal-chip.active { background: var(--ya-navy); border-color: var(--ya-navy); color: #fff; box-shadow: 0 8px 18px rgba(8,40,74,.18); }
.ya-market-signal-chip.active span { background: rgba(255,255,255,.18); color: #fff; }
.ya-market-signal-table table { min-width: 1440px; table-layout: fixed; }
.ya-market-signal-table th:first-child,
.ya-market-signal-table td:first-child { width: 72px; text-align: center; }
.ya-market-signal-table th:nth-child(2),
.ya-market-signal-table td:nth-child(2) { width: 190px; }
.ya-market-signal-table th:nth-child(3),
.ya-market-signal-table td:nth-child(3) { width: 86px; text-align: center; }
.ya-market-signal-table th:nth-child(4),
.ya-market-signal-table td:nth-child(4) { width: 100px; }
.ya-market-signal-table th:nth-child(5),
.ya-market-signal-table td:nth-child(5) { width: 86px; }
.ya-market-signal-table th:nth-child(6),
.ya-market-signal-table td:nth-child(6) { width: 170px; }
.ya-market-signal-table th:nth-child(7),
.ya-market-signal-table td:nth-child(7) { width: 155px; }
.ya-market-signal-table th:nth-child(8),
.ya-market-signal-table td:nth-child(8) { width: 110px; }
.ya-market-signal-table th:nth-child(9),
.ya-market-signal-table td:nth-child(9) { width: 110px; }
.ya-market-signal-table th:nth-child(10),
.ya-market-signal-table td:nth-child(10) { width: 220px; }
.ya-market-signal-name { display: block; color: var(--ya-navy); font-size: 13px; line-height: 1.35; font-weight: 900; }
.ya-market-signal-code { display: block; color: #61748d; font-size: 11px; font-weight: 800; margin-top: 3px; }
.ya-market-signal-title { display: block; color: var(--ya-navy); font-size: 13px; line-height: 1.45; font-weight: 900; margin-bottom: 4px; }
.ya-market-signal-title + span { display: block; color: #60758d; font-size: 11px; line-height: 1.4; font-weight: 800; }
.ya-market-signal-line-stack { display: grid; gap: 4px; color: var(--ya-navy); font-size: 13px; line-height: 1.38; font-weight: 900; }
.ya-market-signal-line-stack span { display: block; }
.ya-market-signal-positive { color: #009c5a !important; font-weight: 900 !important; }
.ya-market-signal-negative { color: #f02d3a !important; font-weight: 900 !important; }
.ya-market-signal-volume { color: #0b2748; font-weight: 800; }
.ya-market-signal-insight-button { display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; border: 1px solid #b8d5ff; border-radius: 9px; background: #f8fbff; color: #0066ff; padding: 6px 10px; font-size: 11px; line-height: 1.2; font-weight: 900; cursor: pointer; }
.ya-market-signal-insight-button:hover { background: #eef6ff; border-color: #7fb0ff; }
.ya-signal-modal-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ya-signal-modal-summary > div { border: 1px solid #e1e8f2; border-radius: 14px; background: #fbfdff; padding: 14px 16px; }
.ya-signal-modal-summary span { display: block; color: #60758d; font-size: 12px; font-weight: 900; margin-bottom: 6px; }
.ya-signal-modal-summary strong { display: block; color: #071d3a; font-size: 18px; line-height: 1.35; font-weight: 900; }
.ya-signal-modal-summary p { margin: 6px 0 0; color: #506a86; font-size: 12px; line-height: 1.5; font-weight: 800; }
.ya-signal-modal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ya-signal-modal-field { border: 1px solid #dbe7f5; border-radius: 14px; background: #fff; padding: 14px 16px; }
.ya-signal-modal-field h4 { margin: 0 0 8px; color: #0b2748; font-size: 13px; font-weight: 900; }
.ya-signal-modal-field p { margin: 0; color: #203348; font-size: 13px; line-height: 1.72; font-weight: 750; white-space: pre-wrap; }
.ya-signal-modal-field-positive { border-color: #bce8cf; background: #f5fff9; }
.ya-signal-modal-field-action { border-color: #b8d5ff; background: #f7fbff; }
.ya-signal-modal-field-risk { border-color: #ffc7c7; background: #fff8f8; }
.ya-signal-modal-field-missing { border-style: dashed; background: #f8fafc; }
.ya-signal-modal-field-missing p { color: #708398; font-weight: 700; }
.ya-strategy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; align-items: stretch; }
.ya-strategy-grid .ya-mini-card { min-height: 132px; }
.ya-evidence-tabs { margin-bottom: 14px; }
.ya-evidence-tab small { display: block; opacity: .72; font-size: 11px; margin-top: 2px; }
.ya-evidence-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ya-inline-ad { min-height: 120px; border-radius: 14px; display: block; }
.ya-inline-ad .layout-ad-slot { min-height: 120px; }
.ya-empty { grid-column: 1 / -1; border: 1px dashed var(--ya-line); border-radius: 14px; padding: 22px; color: #62758b; font-size: 14px; font-weight: 800; text-align: center; background: #f8fbff; }

@media (max-width: 1280px) {
  .ya-sector-grid, .ya-candidate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ya-detail-grid, .ya-evidence-content, .ya-global-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .ya-hero-panel, .ya-overview-head, .ya-overview-grid, .ya-supply-layout, .ya-index-grid, .ya-sector-grid, .ya-detail-grid, .ya-metric-grid, .ya-candidate-grid, .ya-strategy-grid, .ya-evidence-content, .ya-global-industry-grid { grid-template-columns: 1fr; }
  .ya-sector-modal-hero, .ya-sector-modal-kpis, .ya-sector-modal-detail-grid, .ya-sector-modal-action-row { grid-template-columns: 1fr; }
  .ya-overview-head .ya-date-control { max-width: none; }
  .ya-overview-summary { padding: 22px; }
  .ya-overview-summary strong { font-size: 24px; }
  .ya-section-head { flex-direction: column; }
  .ya-tab-stack { align-items: flex-start; }
  .ya-supply-filter-panel { grid-template-columns: 1fr; }
  .ya-supply-filter-group + .ya-supply-filter-group { border-left: 0; border-top: 1px solid var(--ya-line); }
  .ya-supply-search-row { grid-template-columns: 1fr; }
  .ya-supply-detail-text-grid,
  .ya-supply-modal-hero,
  .ya-supply-modal-hero-metrics,
  .ya-supply-detail-modal .ai-core-detail-grid,
  .ya-supply-detail-modal .ya-supply-detail-text-grid { grid-template-columns: 1fr; }
  #industryModal.ya-supply-modal-active .modal-content { padding: 18px; }
  .ya-focused-supply-head { align-items: flex-start; flex-direction: column; }
  .ya-supply-pagination { align-items: stretch; flex-direction: column; }
  .ya-supply-pagination-actions { justify-content: space-between; }
  .ya-supply-page-button { flex: 1 1 0; }
  .ya-supply-trend-periods { align-items: stretch; flex-direction: column; }
  .ya-supply-row { grid-template-columns: 1fr; }
}

.dashboard-section .ai-quote-btn .quote-button-text,
.dashboard-section .ai-quote-btn .quote-button-icon {
  display: block;
}

.dashboard-section .ai-quote-btn .quote-button-icon {
  font-size: 0.74rem;
  line-height: 1;
}

.dashboard-section .ai-quote-btn:hover {
  border-color: #80adff;
  background: #edf5ff;
}

.dashboard-section .ai-name-button {
  display: grid;
  gap: 3px;
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-text, #0f2741);
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.dashboard-section .ai-name-button strong {
  color: #0b2440;
  font-weight: 900;
  line-height: 1.25;
}

.dashboard-section .ai-name-button span {
  color: #53677e;
  font-size: 0.78rem;
  font-weight: 700;
}

.dashboard-section .ai-name-button em {
  width: fit-content;
  margin-top: 4px;
  padding: 4px 8px;
  border: 1px solid #b9d4fb;
  border-radius: 999px;
  background: #f4f8ff;
  color: #0068ff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.dashboard-section .ai-name-button:hover strong {
  color: #0f66e8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dashboard-section .ai-name-button:hover em,
.dashboard-section .ai-name-button:focus-visible em {
  border-color: #0068ff;
  background: #eaf3ff;
}

.dashboard-section .ai-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #eef3f8;
  color: #536276;
  font-weight: 900;
}

.dashboard-section .ai-rank-badge.gold {
  background: linear-gradient(135deg, #ffd53d, #f59e0b);
  color: #fff;
  box-shadow: 0 5px 12px rgba(245, 158, 11, 0.22);
}

.dashboard-section .ai-rank-badge.silver {
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  color: #fff;
}

.dashboard-section .ai-rank-badge.bronze {
  background: linear-gradient(135deg, #f7b267, #c26b2e);
  color: #fff;
}

.dashboard-section .ai-metric-cell {
  display: grid;
  gap: 5px;
  min-width: 76px;
  color: #0b2440;
  font-size: 0.82rem;
  font-weight: 800;
}

.dashboard-section .ai-dot-meter {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.dashboard-section .ai-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d0d8e2;
}

.dashboard-section .ai-dot-meter.green .ai-dot.filled {
  background: #19a862;
}

.dashboard-section .ai-dot-meter.blue .ai-dot.filled {
  background: #1677ff;
}

.dashboard-section .ai-dot-meter.purple .ai-dot.filled {
  background: #7c3aed;
}

.dashboard-section .ai-dot-meter.pink .ai-dot.filled {
  background: #db2777;
}

.dashboard-section .ai-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0f4f8;
  color: #203348;
  font-weight: 800;
  font-size: 0.78rem;
  white-space: nowrap;
}

.dashboard-section .ai-pill.positive {
  background: #e8f8ef;
  color: #078345;
}

.dashboard-section .ai-pill.caution {
  background: #fff0e5;
  color: #c45300;
}

.dashboard-section .ai-pill.negative {
  background: #fff1f2;
  color: #e11d48;
}

.dashboard-section .ai-pill.info {
  background: #ecf4ff;
  color: #1d63d8;
}

.dashboard-section .ai-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 160px;
}

.dashboard-section .ai-topic-chip {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 8px;
  background: #f3f6fa;
  color: #30465f;
  font-weight: 700;
  font-size: 0.76rem;
}

.dashboard-section .ai-comment-cell {
  min-width: 230px;
  color: #1c3048;
  line-height: 1.55;
  word-break: keep-all;
}

.dashboard-section .stock-ai-card {
  display: grid;
  gap: 14px;
}

.dashboard-section .stock-ai-subtitle {
  margin: -4px 0 0;
  color: #203348;
  font-size: 0.98rem;
  font-weight: 700;
}

.dashboard-section .stock-ai-notice,
.dashboard-section .stock-ai-bottom-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid #cfe0ff;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfdff, #f8fbff);
  color: #21354d;
  font-weight: 700;
  line-height: 1.5;
}

.dashboard-section .top-etf-section-head {
  display: grid;
  gap: 8px;
}

.dashboard-section .top-etf-notice {
  margin-top: 20px;
  margin-bottom: 22px;
  min-height: 54px;
  border-color: #bcd4ff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.06);
}

.dashboard-section .stock-ai-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.dashboard-section .stock-ai-control-row {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.dashboard-section .stock-ai-filter-panel,
.dashboard-section .stock-ai-summary-panel {
  min-height: 110px;
  padding: 18px;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 35, 65, 0.04);
}

.dashboard-section .stock-ai-filter-panel {
  display: flex;
  align-items: center;
}

.dashboard-section .stock-ai-filter-panel .radar-filter-group {
  width: 100%;
}

.dashboard-section .top-stock-filter-card {
  display: block;
  min-height: 154px;
  padding: 14px 16px 16px;
}

.dashboard-section .top-stock-filter-block {
  height: 100%;
}

.dashboard-section .top-stock-filter-card .radar-segmented-control {
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  overflow-x: visible;
  max-width: 100%;
}

.dashboard-section .top-stock-filter-card .radar-segment {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  white-space: nowrap;
}

.dashboard-section .stock-ai-segments {
  justify-content: flex-start;
}

.dashboard-section .stock-ai-summary-panel {
  border-color: #9fc2ff;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.dashboard-section .stock-ai-summary-title {
  margin-bottom: 12px;
  color: #1265e8;
  font-size: 1rem;
  font-weight: 900;
}

.dashboard-section .stock-ai-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.dashboard-section .top-stock-theme-summary-grid {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-section .top-etf-theme-summary-grid {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-section .top-stock-theme-summary-grid .stock-ai-summary-item,
.dashboard-section .top-etf-theme-summary-grid .stock-ai-summary-item {
  border-right: 0;
}

.dashboard-section .top-stock-theme-summary-grid .stock-ai-summary-item {
  min-height: 62px;
}

.dashboard-section .stock-ai-summary-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 0 14px;
  border-right: 1px solid #e4ebf4;
}

.dashboard-section .stock-ai-summary-item:last-child {
  border-right: 0;
}

.dashboard-section .stock-ai-summary-icon,
.dashboard-section .stock-ai-signal-icon,
.dashboard-section .stock-ai-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.dashboard-section .stock-ai-summary-icon {
  width: 36px;
  height: 36px;
  background: #eaf3ff;
  color: #2563eb;
}

.dashboard-section .stock-ai-summary-item.green .stock-ai-summary-icon,
.dashboard-section .stock-ai-signal-card.green .stock-ai-signal-icon {
  background: #e9f9ef;
  color: #16a34a;
}

.dashboard-section .stock-ai-summary-item.mint .stock-ai-summary-icon,
.dashboard-section .stock-ai-signal-card.mint .stock-ai-signal-icon,
.dashboard-section .stock-ai-signal-card.teal .stock-ai-signal-icon {
  background: #e5fbf7;
  color: #0f9285;
}

.dashboard-section .stock-ai-summary-item.pink .stock-ai-summary-icon,
.dashboard-section .stock-ai-signal-card.pink .stock-ai-signal-icon {
  background: #fff0f7;
  color: #db2777;
}

.dashboard-section .stock-ai-summary-item.purple .stock-ai-summary-icon,
.dashboard-section .stock-ai-signal-card.purple .stock-ai-signal-icon {
  background: #f0e9ff;
  color: #6d28d9;
}

.dashboard-section .stock-ai-summary-item span:not(.stock-ai-summary-icon),
.dashboard-section .stock-ai-signal-card span:not(.stock-ai-signal-icon) {
  display: block;
  color: #52667d;
  font-size: 0.76rem;
  font-weight: 800;
}

.dashboard-section .stock-ai-summary-item strong,
.dashboard-section .stock-ai-signal-card strong {
  display: block;
  margin-top: 3px;
  color: #0b2440;
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.25;
}

.dashboard-section .stock-ai-summary-item small,
.dashboard-section .stock-ai-signal-card small {
  display: block;
  margin-top: 3px;
  color: #5b7088;
  font-size: 0.72rem;
  font-weight: 700;
}

.dashboard-section .stock-ai-summary-empty {
  color: #5b7088;
  font-weight: 800;
}

.dashboard-section .today-core-points-card {
  padding: 22px;
  border: 1px solid #d8e4f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 35, 65, 0.06);
}

.dashboard-section .today-core-points-shell {
  display: grid;
  gap: 18px;
}

.dashboard-section .today-core-points-loading {
  color: #52667d;
  font-weight: 800;
}

.ui-skeleton-line {
  display: block;
  width: var(--skeleton-width, 100%);
  max-width: 100%;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #edf3fb 0%, #f8fbff 42%, #e5edf8 78%);
  background-size: 220% 100%;
  animation: uiSkeletonShimmer 1.25s ease-in-out infinite;
}

.ui-skeleton-line + .ui-skeleton-line {
  margin-top: 10px;
}

.ui-skeleton-line.circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.ui-skeleton-line.button {
  height: 34px;
  border-radius: 8px;
}

.ui-skeleton-stack {
  display: grid;
  gap: 10px;
  width: 100%;
}

.ui-skeleton-stack .ui-skeleton-line + .ui-skeleton-line {
  margin-top: 0;
}

.ui-skeleton-card {
  position: relative;
  overflow: hidden;
}

.ui-skeleton-row,
.ui-skeleton-metric-row,
.ui-skeleton-table-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(72px, 0.32fr);
  gap: 14px;
  align-items: center;
  width: 100%;
}

.ui-skeleton-table-cell {
  grid-template-columns: minmax(140px, 1fr) minmax(90px, 0.45fr) minmax(72px, 0.3fr);
  min-height: 38px;
}

.ui-skeleton-table-row td {
  padding: 11px 14px;
}

.ui-skeleton-metric-row dt,
.ui-skeleton-metric-row dd {
  min-width: 0;
}

.ui-skeleton-metric-row .ui-skeleton-line + .ui-skeleton-line,
.ui-skeleton-row .ui-skeleton-line + .ui-skeleton-line,
.ui-skeleton-table-cell .ui-skeleton-line + .ui-skeleton-line {
  margin-top: 0;
}

.ui-skeleton-gauge {
  width: min(190px, 70%);
  aspect-ratio: 2 / 1;
  margin: 18px auto 12px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #edf3fb 0%, #f8fbff 42%, #e5edf8 78%);
  background-size: 220% 100%;
  animation: uiSkeletonShimmer 1.25s ease-in-out infinite;
}

.ui-skeleton-chart .ui-skeleton-shape,
.tracker-skeleton-grid {
  fill: #edf3fb;
  animation: uiSkeletonPulse 1.25s ease-in-out infinite;
}

.tracker-skeleton-line {
  fill: none;
  stroke: #c9d7e8;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16 10;
  animation: uiSkeletonPulse 1.25s ease-in-out infinite;
}

.tracker-skeleton-dot {
  fill: #d9e5f3;
  animation: uiSkeletonPulse 1.25s ease-in-out infinite;
}

.tracker-panel-skeleton-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #fff;
}

@keyframes uiSkeletonShimmer {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@keyframes uiSkeletonPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.dashboard-section .today-core-head h2 {
  margin: 0 0 10px;
  color: #0b2440;
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1.2;
}

.dashboard-section .today-core-head p {
  margin: 0;
  color: #203348;
  font-size: 0.98rem;
  font-weight: 750;
}

.dashboard-section .today-core-notice,
.dashboard-section .today-core-footnote {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #c9dcff;
  border-radius: 10px;
  background: #f8fbff;
  color: #203348;
  font-size: 0.92rem;
  font-weight: 750;
}

.dashboard-section .today-core-notice span,
.dashboard-section .today-core-footnote span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #2f7df6;
  color: #fff;
  font-weight: 950;
  flex: 0 0 auto;
}

.dashboard-section .today-core-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 0.8fr) minmax(300px, 0.95fr);
  gap: 16px;
}

.dashboard-section .today-core-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
}

.dashboard-section .today-core-panel h3 {
  margin: 0 0 16px;
  color: #0b2440;
  font-size: 0.98rem;
  font-weight: 950;
}

.dashboard-section .today-core-panel h3 span {
  color: #52667d;
  font-size: 0.88rem;
  font-weight: 850;
}

.dashboard-section .today-core-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-section .today-core-metric {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 130px;
  padding: 18px 12px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: #fbfdff;
  text-align: center;
}

.dashboard-section .today-core-metric.green { background: #f7fcf9; }
.dashboard-section .today-core-metric.purple { background: #fbf8ff; }
.dashboard-section .today-core-metric.blue { background: #f8fbff; }
.dashboard-section .today-core-metric.orange { background: #fffaf5; }

.dashboard-section .today-core-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1265e8;
  font-size: 1.2rem;
  font-weight: 950;
  flex: 0 0 auto;
}

.dashboard-section .today-core-icon.green { background: #e8f8ee; color: #0f9f55; }
.dashboard-section .today-core-icon.purple { background: #f0e8ff; color: #7c3aed; }
.dashboard-section .today-core-icon.blue { background: #e8f2ff; color: #1265e8; }
.dashboard-section .today-core-icon.orange { background: #fff0df; color: #ea580c; }
.dashboard-section .today-core-icon.teal { background: #e6fbf7; color: #0f9488; }
.dashboard-section .today-core-icon.pink { background: #ffe8f1; color: #db2777; }

.dashboard-section .today-core-metric-title {
  color: #203348;
  font-size: 0.88rem;
  font-weight: 900;
}

.dashboard-section .today-core-metric strong {
  color: #0b2440;
  font-size: 1.06rem;
  font-weight: 950;
}

.dashboard-section .today-core-metric span:not(.today-core-icon) {
  color: #52667d;
  font-size: 0.82rem;
  font-weight: 750;
}

.dashboard-section .today-core-score {
  display: grid;
  align-content: start;
  text-align: center;
}

.dashboard-section .today-core-gauge {
  position: relative;
  width: min(210px, 100%);
  aspect-ratio: 2 / 1;
  margin: 8px auto 6px;
  overflow: hidden;
}

.dashboard-section .today-core-gauge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px 999px 0 0;
  background: conic-gradient(from 270deg at 50% 100%, #2f7df6 calc(var(--score) * 1.8deg), #e2e7ef 0 180deg, transparent 0);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 0 48%, #000 49%);
  mask: radial-gradient(circle at 50% 100%, transparent 0 48%, #000 49%);
}

.dashboard-section .today-core-gauge div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 5px;
}

.dashboard-section .today-core-gauge strong {
  color: #071c3a;
  font-size: 2.15rem;
  font-weight: 950;
}

.dashboard-section .today-core-gauge span,
.dashboard-section .today-core-score b {
  color: #1265e8;
  font-weight: 950;
}

.dashboard-section .today-core-summary-rows {
  display: grid;
  gap: 12px;
}

.dashboard-section .today-core-summary-rows div,
.dashboard-section .today-core-mini-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.dashboard-section .today-core-summary-rows span {
  color: #52667d;
  font-size: 0.9rem;
  font-weight: 800;
}

.dashboard-section .today-core-summary-rows strong,
.dashboard-section .today-core-mini-list b {
  color: #0b2440;
  font-size: 0.96rem;
  font-weight: 950;
  white-space: nowrap;
}

.dashboard-section .today-core-summary-rows strong.positive,
.dashboard-section .today-core-mini-list b {
  color: #059669;
}

.dashboard-section .today-core-flow-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.dashboard-section .today-core-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.dashboard-section .today-core-flow-step:not(:last-child)::after {
  content: ">";
  position: absolute;
  right: -12px;
  top: 18px;
  color: #a5b3c5;
  font-size: 1.2rem;
}

.dashboard-section .today-core-flow-step strong,
.dashboard-section .today-core-flow-step span,
.dashboard-section .today-core-flow-step small {
  display: block;
}

.dashboard-section .today-core-flow-step strong {
  color: #0b2440;
  font-size: 0.88rem;
  font-weight: 950;
}

.dashboard-section .today-core-flow-step span {
  margin-top: 5px;
  color: #203348;
  font-size: 0.86rem;
  font-weight: 850;
}

.dashboard-section .today-core-flow-step small {
  margin-top: 5px;
  color: #52667d;
  font-size: 0.78rem;
  font-weight: 750;
}

.dashboard-section .today-core-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-section .today-core-mini-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
}

.dashboard-section .today-core-mini-head,
.dashboard-section .today-core-mini-head div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dashboard-section .today-core-mini-head div {
  justify-content: flex-start;
  min-width: 0;
}

.dashboard-section .today-core-mini-head strong {
  color: #0b2440;
  font-size: 0.98rem;
  font-weight: 950;
}

.dashboard-section .today-core-mini-head > span {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0f7ff;
  color: #1265e8;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-section .today-core-mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dashboard-section .today-core-mini-list li {
  grid-template-columns: 22px minmax(0, 1fr) auto;
}

.dashboard-section .today-core-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #6b7788;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.dashboard-section .today-core-mini-list strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #203348;
  font-size: 0.88rem;
  font-weight: 850;
}

.dashboard-section .today-core-mini-action {
  min-height: 36px;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  background: #fbfdff;
  color: #203348;
  font-weight: 850;
  cursor: pointer;
}

.dashboard-section .today-core-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr) minmax(280px, 0.9fr);
  gap: 16px;
}

.dashboard-section .today-core-insight h3,
.dashboard-section .today-core-strategy,
.dashboard-section .today-core-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dashboard-section .today-core-insight ul,
.dashboard-section .today-core-check ul {
  margin: 0;
  padding-left: 18px;
  color: #203348;
  line-height: 1.8;
  font-size: 0.9rem;
  font-weight: 750;
}

.dashboard-section .today-core-strategy h3,
.dashboard-section .today-core-check h3 {
  margin-bottom: 8px;
}

.dashboard-section .today-core-strategy strong,
.dashboard-section .today-core-strategy span {
  display: block;
}

.dashboard-section .today-core-strategy strong {
  color: #0b2440;
  font-size: 1rem;
  font-weight: 950;
}

.dashboard-section .today-core-strategy span {
  margin-top: 6px;
  color: #1265e8;
  font-weight: 850;
}

@media (max-width: 1400px) {
  .dashboard-section .today-core-top-grid,
  .dashboard-section .today-core-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-section .today-core-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .dashboard-section .today-core-metrics,
  .dashboard-section .today-core-flow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-section .today-core-flow-step::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .dashboard-section .today-core-points-card {
    padding: 16px;
  }

  .dashboard-section .today-core-head h2 {
    font-size: 1.28rem;
  }

  .dashboard-section .today-core-metrics,
  .dashboard-section .today-core-flow-track,
  .dashboard-section .today-core-mini-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-section .stock-ai-signal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-section .stock-ai-signal-grid:empty {
  display: none;
}

.dashboard-section .stock-ai-signal-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 90px;
  padding: 14px;
  border: 1px solid #e0e7f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 35, 65, 0.04);
}

.dashboard-section .stock-ai-signal-icon {
  width: 44px;
  height: 44px;
  background: #eaf3ff;
  color: #2563eb;
  font-size: 1.04rem;
}

.dashboard-section .stock-ai-signal-card.orange .stock-ai-signal-icon {
  background: #fff2e6;
  color: #f97316;
}

.dashboard-section .stock-ai-signal-card.sky .stock-ai-signal-icon {
  background: #e8f7ff;
  color: #0284c7;
}

.dashboard-section .stock-ai-method-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #f8fbff;
  color: #243952;
  font-weight: 700;
  line-height: 1.6;
}

.dashboard-section .stock-ai-method-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  background: #e7f0ff;
  color: #1769e0;
  font-size: 0.8rem;
}

.dashboard-section .top-stock-table-shell {
  overflow-x: auto;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #fff;
}

.dashboard-section .stock-ai-filter-summary {
  margin: 0;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #e4ebf4;
  border-radius: 0;
  background: #fff;
}

.dashboard-section .top-stock-table {
  min-width: 1120px;
  border-radius: 0;
  table-layout: fixed;
}

.dashboard-section .top-stock-table thead th {
  background: #102b46;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-section .top-stock-table td {
  vertical-align: middle;
}

.dashboard-section .top-stock-table th:nth-child(1),
.dashboard-section .top-stock-table td:nth-child(1) {
  width: 58px;
  text-align: center;
}

.dashboard-section .top-stock-table th:nth-child(2),
.dashboard-section .top-stock-table td:nth-child(2) {
  width: 108px;
}

.dashboard-section .top-stock-table th:nth-child(3),
.dashboard-section .top-stock-table td:nth-child(3) {
  width: 98px;
  text-align: center;
}

.dashboard-section .top-stock-table th:nth-child(4),
.dashboard-section .top-stock-table td:nth-child(4) {
  width: 104px;
  white-space: nowrap;
  word-break: keep-all;
}

.dashboard-section .top-stock-table th:nth-child(5),
.dashboard-section .top-stock-table td:nth-child(5),
.dashboard-section .top-stock-table th:nth-child(6),
.dashboard-section .top-stock-table td:nth-child(6),
.dashboard-section .top-stock-table th:nth-child(8),
.dashboard-section .top-stock-table td:nth-child(8),
.dashboard-section .top-stock-table th:nth-child(10),
.dashboard-section .top-stock-table td:nth-child(10) {
  width: 102px;
}

.dashboard-section .top-stock-table th:nth-child(7),
.dashboard-section .top-stock-table td:nth-child(7),
.dashboard-section .top-stock-table th:nth-child(9),
.dashboard-section .top-stock-table td:nth-child(9) {
  width: 90px;
}

.dashboard-section .top-stock-table .ai-quote-btn {
  width: 58px;
  min-width: 58px;
}

.dashboard-section .top-etf-control-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(180px, 18vw, 270px);
  gap: 16px;
  align-items: stretch;
}

.dashboard-section .top-etf-filter-card,
.dashboard-section .top-etf-control-row .stock-ai-summary-panel {
  min-width: 0;
}

.dashboard-section .top-etf-filter-card,
.dashboard-section .top-etf-summary-panel {
  min-height: 154px;
  border: 1px solid #d8e4f3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 35, 65, 0.045);
}

.dashboard-section .top-etf-filter-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 1px minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
  padding: 14px 16px 16px;
}

.dashboard-section .top-etf-filter-divider {
  width: 1px;
  background: #d9e4f1;
}

.dashboard-section .top-etf-filter-block {
  display: grid;
  align-content: start;
  gap: 9px;
}

.dashboard-section .top-etf-filter-title {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.dashboard-section .top-etf-filter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #0f2440;
}

.dashboard-section .top-etf-filter-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-section .top-etf-filter-title strong {
  display: block;
  color: #0f2440;
  font-size: 1.04rem;
  font-weight: 950;
}

.dashboard-section .top-etf-filter-title span:not(.top-etf-filter-icon) {
  display: block;
  margin-top: 4px;
  color: #66778b;
  font-size: 0.84rem;
  font-weight: 750;
}

.dashboard-section .top-etf-control-row .radar-segmented-control {
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  overflow-x: visible;
  max-width: 100%;
}

.dashboard-section .top-etf-control-row .stock-ai-filter-panel .radar-segment {
  flex: 0 0 auto;
  white-space: nowrap;
}

.dashboard-section .top-etf-filter-card .radar-segment {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .dashboard-section .top-etf-control-row {
    grid-template-columns: minmax(0, 1fr) clamp(145px, 14vw, 190px);
    gap: 14px;
  }

  .dashboard-section .top-etf-filter-card {
    gap: 12px;
    grid-template-columns: minmax(0, 0.9fr) 1px minmax(0, 1.1fr);
    padding-right: 14px;
    padding-left: 14px;
  }

  .dashboard-section .top-etf-filter-block {
    gap: 20px;
  }

  .dashboard-section .top-etf-filter-card .radar-segment {
    padding: 0 6px;
    font-size: 0.7rem;
    min-height: 38px;
  }

  .dashboard-section .top-etf-control-row .radar-segmented-control {
    gap: 5px;
    margin-top: 12px;
  }
}

.dashboard-section .top-etf-summary-panel {
  padding: 14px 18px;
  border-color: #9ebdff;
  background: #fff;
}

.dashboard-section .top-etf-summary-title {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: #1265e8;
  font-size: 0.96rem;
  font-weight: 950;
}

.dashboard-section .top-etf-summary-title span {
  color: #2478ff;
  font-weight: 950;
}

.dashboard-section .top-etf-summary-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(74px, 0.62fr);
  gap: 10px;
  align-items: center;
}

.dashboard-section .top-stock-summary-content {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.dashboard-section .top-stock-summary-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.dashboard-section .top-stock-summary-group {
  min-width: 0;
}

.dashboard-section .top-stock-summary-group + .top-stock-summary-group {
  padding-left: 14px;
  border-left: 1px solid #e4ebf4;
}

.dashboard-section .top-stock-summary-group > span {
  display: block;
  margin-bottom: 5px;
  color: #52667d;
  font-size: 0.76rem;
  font-weight: 850;
}

.dashboard-section .top-stock-summary-group strong {
  display: block;
  color: #0b2440;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-section .top-stock-summary-group.weak strong {
  color: #26364a;
}

.dashboard-section .top-stock-summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.dashboard-section .top-stock-summary-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid #d9e7fb;
  border-radius: 999px;
  background: #f7fbff;
  color: #1265e8;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.dashboard-section .top-stock-summary-group.weak .top-stock-summary-badge {
  border-color: #e4e9f1;
  background: #f8fafc;
  color: #52667d;
}

@media (max-width: 1280px) {
  .dashboard-section .top-etf-summary-panel {
    padding: 12px 14px;
  }

  .dashboard-section .top-etf-summary-title {
    margin-bottom: 7px;
    font-size: 0.88rem;
  }

  .dashboard-section .top-stock-summary-groups {
    gap: 10px;
  }

  .dashboard-section .top-stock-summary-group + .top-stock-summary-group {
    padding-left: 10px;
  }

  .dashboard-section .top-stock-summary-group strong {
    font-size: 0.9rem;
  }

  .dashboard-section .top-stock-summary-badge {
    padding-inline: 7px;
    font-size: 0.66rem;
  }
}

.dashboard-section .top-etf-summary-theme {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 94px;
  padding-right: 0;
  border-right: 0;
}

.dashboard-section .top-etf-summary-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #efe2ff;
  color: #7c3aed;
  font-size: 1.12rem;
  font-weight: 950;
}

.dashboard-section .top-etf-summary-theme-list {
  min-width: 0;
}

.dashboard-section .top-etf-summary-theme-list > span {
  display: block;
  margin-bottom: 5px;
  color: #52667d;
  font-size: 0.76rem;
  font-weight: 850;
}

.dashboard-section .top-etf-summary-theme-list strong {
  display: block;
  color: #0b2440;
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.28;
}

.dashboard-section .top-etf-summary-theme-rows {
  display: grid;
  gap: 4px;
}

.dashboard-section .top-etf-summary-theme-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.dashboard-section .top-etf-summary-theme-row + .top-etf-summary-theme-row {
  padding-top: 4px;
  border-top: 1px solid #e4ebf4;
}

.dashboard-section .top-etf-summary-theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #f1e8ff;
  color: #7c3aed;
  font-size: 0.74rem;
  font-weight: 950;
}

.dashboard-section .top-etf-summary-theme-row strong {
  min-width: 0;
  color: #0b2440;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-section .top-etf-summary-theme-row b {
  color: #1265e8;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.15;
  white-space: nowrap;
}

.dashboard-section .top-etf-summary-theme-list small {
  display: block;
  margin-top: 6px;
  color: #6c7f94;
  font-size: 0.72rem;
  font-weight: 750;
}

.dashboard-section .top-etf-summary-signals {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-left: 10px;
  border-left: 1px solid #e4ebf4;
}

.dashboard-section .top-etf-summary-signal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.dashboard-section .top-etf-summary-signal-row span {
  min-width: 0;
  color: #52667d;
  font-size: 0.76rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-section .top-etf-summary-signal-row strong {
  color: #1265e8;
  font-size: 0.88rem;
  font-weight: 950;
  white-space: nowrap;
}

.dashboard-section .top-etf-table {
  width: 100%;
  min-width: 0;
  border-radius: 0;
  table-layout: fixed;
}

.dashboard-section .top-etf-table thead th {
  padding-right: 7px;
  padding-left: 7px;
  background: #102b46;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-section .top-etf-table td {
  padding-right: 7px;
  padding-left: 7px;
  vertical-align: middle;
}

.dashboard-section .top-etf-table th:nth-child(1),
.dashboard-section .top-etf-table td:nth-child(1) {
  width: 48px;
  text-align: center;
}

.dashboard-section .top-etf-table th:nth-child(2),
.dashboard-section .top-etf-table td:nth-child(2) {
  width: 112px;
}

.dashboard-section .top-etf-table th:nth-child(3),
.dashboard-section .top-etf-table td:nth-child(3) {
  width: 66px;
  text-align: center;
}

.dashboard-section .top-etf-table th:nth-child(4),
.dashboard-section .top-etf-table td:nth-child(4) {
  width: 116px;
}

.dashboard-section .top-etf-table th:nth-child(5),
.dashboard-section .top-etf-table td:nth-child(5),
.dashboard-section .top-etf-table th:nth-child(6),
.dashboard-section .top-etf-table td:nth-child(6),
.dashboard-section .top-etf-table th:nth-child(7),
.dashboard-section .top-etf-table td:nth-child(7),
.dashboard-section .top-etf-table th:nth-child(10),
.dashboard-section .top-etf-table td:nth-child(10) {
  width: 88px;
}

.dashboard-section .top-etf-table th:nth-child(8),
.dashboard-section .top-etf-table td:nth-child(8),
.dashboard-section .top-etf-table th:nth-child(9),
.dashboard-section .top-etf-table td:nth-child(9) {
  width: 80px;
}

.dashboard-section .top-etf-table th:nth-child(11),
.dashboard-section .top-etf-table td:nth-child(11),
.dashboard-section .top-etf-table th:nth-child(12),
.dashboard-section .top-etf-table td:nth-child(12) {
  width: 72px;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
}

.dashboard-section .top-etf-table td:nth-child(11) .sub {
  display: inline;
  margin-left: 4px;
  white-space: nowrap;
}

.dashboard-section .top-etf-table .ai-quote-btn {
  width: 58px;
  min-width: 58px;
}

.dashboard-section .stock-ai-comment-cell {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 28px;
  gap: 10px;
  align-items: center;
  color: #1c3048;
  line-height: 1.55;
  word-break: keep-all;
}

.dashboard-section .representative-group-stack {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.dashboard-section .representative-group-stack .ai-pill {
  width: max-content;
  max-width: 100%;
  white-space: normal;
  line-height: 1.3;
}

.dashboard-section .stock-ai-detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0b2440;
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
}

.dashboard-section .stock-ai-detail-button:hover {
  background: #edf5ff;
  color: #1769e0;
}


.dashboard-ai-modal {
  display: grid;
  gap: 22px;
}

.dashboard-modal-info,
.dashboard-modal-footnote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #d8e3ff;
  border-radius: 14px;
  background: #fbfdff;
  color: #263b54;
  line-height: 1.65;
}

.dashboard-modal-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-weight: 900;
}

.dashboard-modal-section {
  display: grid;
  gap: 14px;
}

.dashboard-modal-section h3 {
  margin: 0;
  color: #0b2440;
  font-size: 1.15rem;
}

.dashboard-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-modal-card {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 18px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 35, 65, 0.06);
}

.dashboard-modal-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e9f9ef, #d6f4e4);
}

.dashboard-modal-card-label {
  color: #4b5f76;
  font-weight: 800;
}

.dashboard-modal-card-value {
  margin-top: 4px;
  color: #0b2440;
  font-size: 1.08rem;
  font-weight: 900;
}

.dashboard-modal-card-helper {
  margin-top: 6px;
  color: #698096;
  font-size: 0.86rem;
}

.dashboard-modal-point-list {
  display: grid;
  gap: 12px;
}

.dashboard-modal-point {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fff;
}

.dashboard-modal-point-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 12px;
  background: #eef7ff;
  color: #1769e0;
  font-weight: 900;
  text-align: center;
}

.dashboard-modal-point-copy {
  display: grid;
  gap: 5px;
  color: #203348;
}

.dashboard-modal-point-copy strong {
  color: #0b2440;
  font-size: 1rem;
}

.dashboard-modal-point-badge {
  padding: 8px 12px;
  border-radius: 10px;
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 900;
  white-space: nowrap;
}

.dashboard-modal-summary-card {
  padding: 16px 18px;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: #fbfdff;
  color: #263b54;
}

.dashboard-star-rating {
  color: #2563eb;
  letter-spacing: 2px;
}

.instrument-analysis-modal {
  display: grid;
  gap: 18px;
}

.instrument-analysis-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid #d9e6f7;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.instrument-analysis-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: #1769e0;
  font-size: 0.78rem;
  font-weight: 900;
}

.instrument-analysis-hero h3 {
  margin: 0;
  color: #071d3a;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.instrument-analysis-hero h3 small {
  color: #5f7288;
  font-size: 0.86rem;
}

.instrument-analysis-hero p {
  margin: 10px 0 0;
  color: #334b66;
  font-weight: 800;
  line-height: 1.65;
}

.instrument-analysis-hero > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 96px;
  padding: 14px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1769e0;
  font-size: 1.3rem;
  font-weight: 950;
}

.instrument-analysis-kpis,
.instrument-analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.instrument-analysis-kpis article,
.instrument-analysis-card,
.instrument-analysis-points,
.instrument-analysis-section-card {
  padding: 16px 18px;
  border: 1px solid #dfe8f4;
  border-radius: 14px;
  background: #fff;
}

.instrument-analysis-kpis article {
  display: grid;
  gap: 6px;
}

.instrument-analysis-kpis span,
.instrument-analysis-rows span {
  color: #64778d;
  font-size: 0.82rem;
  font-weight: 800;
}

.instrument-analysis-kpis strong {
  color: #071d3a;
  font-size: 1.12rem;
  font-weight: 950;
}

.instrument-analysis-kpis em,
.instrument-analysis-insight-list em {
  color: #1769e0;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 900;
}

.instrument-analysis-points {
  display: grid;
  gap: 12px;
}

.instrument-analysis-points h4,
.instrument-analysis-card h4,
.instrument-analysis-sections h4,
.instrument-analysis-section-card h4 {
  margin: 0;
  color: #071d3a;
  font-size: 1rem;
  font-weight: 950;
}

.instrument-analysis-points > div {
  display: grid;
  gap: 10px;
}

.instrument-analysis-points article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.instrument-analysis-points article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #1769e0;
  font-weight: 950;
}

.instrument-analysis-points article p,
.instrument-analysis-section-card p,
.instrument-analysis-insight-list p {
  margin: 0;
  color: #243a52;
  line-height: 1.7;
  font-weight: 750;
}

.instrument-analysis-card {
  display: grid;
  gap: 12px;
}

.instrument-analysis-wide-card {
  grid-column: 1 / -1;
}

.instrument-analysis-rows {
  display: grid;
  gap: 8px;
}

.instrument-analysis-rows div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf2f8;
}

.instrument-analysis-rows div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.instrument-analysis-rows strong {
  color: #071d3a;
  line-height: 1.6;
  font-weight: 850;
  white-space: pre-wrap;
}

.instrument-analysis-insight-list {
  display: grid;
  gap: 10px;
}

.instrument-analysis-insight-list article {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fbff;
}

.instrument-analysis-sections {
  display: grid;
  gap: 12px;
}

.instrument-analysis-section-card p {
  margin-top: 10px;
  white-space: pre-wrap;
}

.instrument-analysis-empty {
  padding: 16px;
  border: 1px dashed #cbd8e8;
  border-radius: 12px;
  background: #f8fbff;
  color: #667b91;
  font-weight: 800;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .dashboard-section .top-etf-control-row {
    grid-template-columns: 1fr;
  }

  .dashboard-section .top-etf-filter-card,
  .dashboard-section .top-etf-summary-content,
  .dashboard-section .top-stock-summary-content,
  .dashboard-section .top-stock-summary-groups {
    grid-template-columns: 1fr;
  }

  .dashboard-section .top-etf-filter-divider,
  .dashboard-section .top-etf-summary-theme,
  .dashboard-section .top-stock-summary-group + .top-stock-summary-group {
    border-right: 0;
    border-left: 0;
    padding-left: 0;
  }

  .dashboard-section .top-etf-filter-divider {
    width: 100%;
    height: 1px;
  }

  .dashboard-modal-grid,
  .dashboard-modal-point,
  .instrument-analysis-hero,
  .instrument-analysis-kpis,
  .instrument-analysis-grid,
  .instrument-analysis-rows div {
    grid-template-columns: 1fr;
  }

  .dashboard-section .ai-comment-cell {
    min-width: 180px;
  }
}

/* Market Replay */
.market-replay-section {
  color: #071d3a;
  font-size: 14px;
}

.market-replay-shell {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: clamp(18px, 2.3vw, 34px);
  border: 1px solid #d8e5f7;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(17, 42, 75, 0.08);
}

.market-replay-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.market-replay-title {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.market-replay-subtitle,
.market-replay-subcopy {
  margin: 7px 0 0;
  color: #506174;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.market-replay-date-control {
  min-width: min(100%, 460px);
  padding: 12px;
  border: 1px solid #cfe0f6;
  border-radius: 12px;
  background: #f8fbff;
}

.market-replay-date-control label {
  display: block;
  margin-bottom: 8px;
  color: #263f5f;
  font-size: 13px;
  font-weight: 900;
}

.market-replay-date-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.market-replay-date-row input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #b8d1f3;
  border-radius: 9px;
  background: #fff;
  color: #071d3a;
  padding: 0 10px;
  font-weight: 900;
}

.market-replay-date-button {
  min-height: 38px;
  border: 1px solid #b8d1f3;
  border-radius: 9px;
  background: #fff;
  color: #0b6cff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.market-replay-date-button.primary {
  border-color: #0b6cff;
  background: #0b6cff;
  color: #fff;
}

.market-replay-date-control p {
  margin: 8px 0 0;
  color: #506174;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.market-replay-date-control.is-history {
  border-color: #f0b070;
  background: #fffaf5;
}

.market-replay-date-control.is-error {
  border-color: #ffb5b5;
  background: #fff8f8;
}

.market-replay-rule-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 520px;
}

.market-replay-rule-chips span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid #d4e2f6;
  border-radius: 999px;
  background: #fbfdff;
  color: #31506f;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.market-replay-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 11px 14px;
  border: 1px solid #9fc3ff;
  border-radius: 8px;
  background: #f8fbff;
  color: #0b6cff;
  font-size: 13px;
  font-weight: 800;
}

.market-replay-notice span,
.market-replay-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.market-replay-notice span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0b6cff;
  color: #fff;
  font-weight: 900;
}

.market-replay-top-grid,
.market-replay-service-grid,
.market-replay-rank-grid,
.market-replay-bottom-grid {
  display: grid;
  gap: clamp(12px, 1.2vw, 18px);
}

.market-replay-top-grid {
  grid-template-columns: minmax(360px, 1.35fr) minmax(260px, 0.82fr) minmax(300px, 1fr);
}

.market-replay-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(12px, 1.2vw, 18px);
}

.market-replay-rank-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(12px, 1.2vw, 18px);
}

.market-replay-bottom-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr) minmax(260px, 0.9fr);
  margin-top: clamp(12px, 1.2vw, 18px);
}

.market-replay-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #cfe0f6;
  border-radius: 10px;
  background: #fff;
  padding: clamp(14px, 1.3vw, 22px);
  overflow: hidden;
}

.market-replay-card.rank {
  min-height: 100%;
}

.market-replay-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 800;
}

.market-replay-card h3 span,
.market-replay-eyebrow {
  color: #5c6d83;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-card-purple {
  border-color: #c9b8ff;
  background: linear-gradient(135deg, #fff 0%, #fbf8ff 100%);
}

.market-replay-card.service.green,
.market-replay-card.rank.green {
  border-color: #a9dfc2;
  background: linear-gradient(135deg, #fff 0%, #f5fff9 100%);
}

.market-replay-card.service.orange {
  border-color: #ffc99d;
  background: linear-gradient(135deg, #fff 0%, #fff8f1 100%);
}

.market-replay-card.service.red,
.market-replay-card.rank.red {
  border-color: #ffb8b8;
  background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}

.market-replay-card.service.blue {
  border-color: #b7d0ff;
  background: linear-gradient(135deg, #fff 0%, #f7fbff 100%);
}

.market-replay-conclusion {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 1.5vw, 28px);
  min-height: 150px;
}

.market-replay-conclusion strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-conclusion b {
  color: #6c3ff2;
}

.market-replay-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #edf5ff;
  color: #0b6cff;
  font-size: 20px;
  font-weight: 900;
}

.market-replay-card-purple .market-replay-icon {
  background: #f0e8ff;
  color: #6c3ff2;
}

.market-replay-card.service.green .market-replay-icon,
.market-replay-card.rank.green .market-replay-icon {
  background: #e7f8ef;
  color: #04934a;
}

.market-replay-card.service.orange .market-replay-icon {
  background: #fff1e5;
  color: #f07c1a;
}

.market-replay-card.service.red .market-replay-icon,
.market-replay-card.rank.red .market-replay-icon {
  background: #ffe7e7;
  color: #e33131;
}

.market-replay-bot {
  display: grid;
  place-items: center;
  gap: 8px;
  min-width: 136px;
}

.market-replay-bot span {
  width: 72px;
  height: 54px;
  border-radius: 21px;
  background: linear-gradient(135deg, #6848ff, #86b8ff);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.08);
}

.market-replay-bot em {
  width: 132px;
  border: 1px solid #d5c8ff;
  border-radius: 10px;
  padding: 8px 10px;
  color: #6c3ff2;
  background: #fff;
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.market-replay-score-card {
  text-align: center;
}

.market-replay-gauge {
  display: grid;
  place-items: center;
  min-height: 138px;
}

.market-replay-gauge div {
  width: min(210px, 82%);
  aspect-ratio: 2 / 1;
  border-radius: 220px 220px 0 0;
  background:
    radial-gradient(circle at 50% 100%, #fff 0 45%, transparent 46%),
    conic-gradient(from 270deg at 50% 100%, #276cff 0deg, #6e55ff 130deg, #dfe5ef 130deg, #dfe5ef 180deg, transparent 180deg);
}

.market-replay-gauge strong {
  margin-top: -56px;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
}

.market-replay-gauge small {
  font-size: 16px;
}

.market-replay-score-card p {
  margin: 0;
  font-weight: 900;
}

.market-replay-score-help {
  margin-top: 7px;
  color: #5f7288;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-score-card p b,
.market-replay-card .positive {
  color: #04934a;
}

.market-replay-card .negative {
  color: #e33131;
}

.market-replay-summary-list,
.market-replay-card dl,
.market-replay-rank-grid ol,
.market-replay-insight-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.market-replay-summary-list li,
.market-replay-card dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 29px;
  border-bottom: 1px solid #e8eef7;
  padding-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.market-replay-summary-list li:last-child,
.market-replay-card dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.market-replay-card dt {
  color: #0b2440;
  font-weight: 700;
}

.market-replay-card dd {
  margin: 0;
  font-weight: 800;
}

.market-replay-detail-actions {
  width: 100%;
  margin-top: auto;
  display: flex;
  justify-content: stretch;
}

.market-replay-detail-button {
  width: 100%;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #b9d4fb;
  border-radius: 8px;
  background: #fff;
  color: #0068ff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.market-replay-detail-button:hover,
.market-replay-detail-button:focus-visible {
  border-color: #0068ff;
  background: #f3f8ff;
  outline: none;
}

.market-replay-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}

.market-replay-card-head p {
  margin: 5px 0 0;
  color: #506174;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

.market-replay-card-head > b,
.market-replay-rank-head span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e9f8ef;
  color: #04934a;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.market-replay-card.service.orange .market-replay-card-head > b {
  background: #fff0e2;
  color: #f07c1a;
}

.market-replay-card.service.red .market-replay-card-head > b,
.market-replay-card.rank.red .market-replay-rank-head span {
  background: #ffeaea;
  color: #e33131;
}

.market-replay-spark {
  display: block;
  width: 100%;
  height: 58px;
  margin-top: 12px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.36)),
    repeating-linear-gradient(0deg, rgba(15,35,65,0.05) 0 1px, transparent 1px 22px);
  overflow: hidden;
}

.market-replay-chart-note {
  margin-top: 7px;
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-card.service.red .market-replay-chart-note {
  color: #b54545;
}

.market-replay-card.service.orange .market-replay-chart-note {
  color: #9d5a20;
}

.market-replay-card.service {
  --market-replay-chart: #04934a;
  --market-replay-chart-soft: rgba(4,147,74,0.16);
}

.market-replay-card.service.purple {
  --market-replay-chart: #6c3ff2;
  --market-replay-chart-soft: rgba(108,63,242,0.17);
}

.market-replay-card.service.blue {
  --market-replay-chart: #0b6cff;
  --market-replay-chart-soft: rgba(11,108,255,0.16);
}

.market-replay-card.service.orange {
  --market-replay-chart: #f07c1a;
  --market-replay-chart-soft: rgba(240,124,26,0.18);
}

.market-replay-card.service.red {
  --market-replay-chart: #e33131;
  --market-replay-chart-soft: rgba(227,49,49,0.16);
}

.market-replay-chart {
  display: block;
  width: 100%;
  height: 100%;
}

.market-replay-chart-grid {
  stroke: rgba(15,35,65,0.16);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
}

.market-replay-chart-area {
  fill: var(--market-replay-chart-soft);
}

.market-replay-chart-line {
  fill: none;
  stroke: var(--market-replay-chart);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-chart-line.muted {
  stroke: rgba(28, 58, 97, 0.26);
  stroke-dasharray: 8 8;
}

.market-replay-chart-point {
  fill: #fff;
  stroke: var(--market-replay-chart);
  stroke-width: 4;
}

.market-replay-chart-bar {
  fill: var(--market-replay-chart);
  opacity: 0.82;
}

.market-replay-chart-bar.negative {
  fill: #e33131;
  opacity: 0.72;
}

.market-replay-rank-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.market-replay-rank-grid li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  min-height: 34px;
  font-size: 13px;
  font-weight: 800;
}

.market-replay-rank-grid i {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #04934a;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.market-replay-card.rank.red i {
  background: #e33131;
}

.market-replay-rank-grid strong {
  min-width: 0;
  display: grid;
  gap: 4px;
  color: #071d3a;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-rank-grid strong > :first-child,
.market-replay-rank-grid li strong {
  min-width: 0;
}

.market-replay-rank-grid small {
  color: #5b6f86;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.market-replay-rank-grid li > b {
  align-self: start;
  padding-top: 2px;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.market-replay-rank-grid p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  align-self: end;
  width: 100%;
  margin: auto 0 0;
  padding: 11px 12px;
  min-height: 66px;
  border: 1px solid rgba(4,147,74,0.2);
  border-radius: 8px;
  background: rgba(4,147,74,0.04);
  color: #17344f;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  text-align: left;
}

.market-replay-rank-grid p b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(4,147,74,0.11);
  color: #047c40;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.market-replay-rank-grid p span {
  display: -webkit-box;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.market-replay-card.rank.red p {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-card.rank.red p b {
  background: rgba(227,49,49,0.1);
  color: #d92323;
}

.market-replay-card.rank .market-replay-detail-actions {
  margin-top: 12px;
}

.market-replay-insight-list {
  padding-left: 18px;
  list-style: disc;
  color: #263a55;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 700;
}

.market-replay-bottom-grid > .market-replay-card > strong {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.market-replay-detail-modal {
  color: #071d3a;
}

.market-replay-detail-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-detail-metric {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fbfdff;
}

.market-replay-detail-metric span,
.market-replay-detail-metric em {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.market-replay-detail-metric strong {
  display: block;
  margin-top: 6px;
  color: #071d3a;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.market-replay-detail-metric em {
  margin-top: 6px;
  font-weight: 700;
}

.market-replay-detail-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.market-replay-detail-checklist li {
  position: relative;
  padding: 10px 12px 10px 34px;
  border: 1px solid #dbe7f5;
  border-radius: 10px;
  background: #fff;
  color: #203348;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.market-replay-detail-checklist li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7d8da1;
}

.market-replay-detail-checklist.positive li {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-detail-checklist.positive li::before {
  background: #04934a;
}

.market-replay-detail-checklist.negative li {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-detail-checklist.negative li::before {
  background: #e33131;
}

.market-replay-detail-list {
  display: grid;
  gap: 10px;
}

.market-replay-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b6cff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-detail-row strong {
  display: block;
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-detail-row small {
  color: #6b7d93;
  font-size: 11px;
  font-weight: 800;
}

.market-replay-detail-row span,
.market-replay-detail-row em {
  display: block;
  margin-top: 3px;
  color: #4f6176;
  font-size: 12px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 700;
}

.market-replay-detail-row b {
  color: #071d3a;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-detail-empty {
  padding: 16px;
  border: 1px dashed #c9d8eb;
  border-radius: 12px;
  color: #5f7288;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.market-replay-insight-modal {
  display: grid;
  gap: 18px;
}

.market-replay-insight-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #c9d8ff;
  border-radius: 16px;
  background:
    radial-gradient(circle at 96% 10%, rgba(108,63,242,0.16), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f8fbff 100%);
}

.market-replay-insight-hero span,
.market-replay-insight-balance em,
.market-replay-insight-signal span {
  display: block;
  color: #64758b;
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 900;
}

.market-replay-insight-hero strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 900;
  word-break: keep-all;
}

.market-replay-insight-hero p,
.market-replay-insight-split p,
.market-replay-insight-ad p {
  margin: 8px 0 0;
  color: #51647a;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  word-break: keep-all;
}

.market-replay-insight-balance {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: rgba(255,255,255,0.78);
}

.market-replay-insight-balance > div {
  display: flex;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: #edf3fb;
}

.market-replay-insight-balance i {
  display: block;
  min-width: 4px;
}

.market-replay-insight-balance .positive {
  background: linear-gradient(90deg, #04934a, #52cf8a);
}

.market-replay-insight-balance .negative {
  background: linear-gradient(90deg, #ff9b9b, #e33131);
}

.market-replay-insight-balance b {
  color: #071d3a;
  font-size: 13px;
  font-weight: 900;
}

.market-replay-insight-signals,
.market-replay-insight-ad-grid,
.market-replay-insight-split,
.market-replay-insight-steps {
  display: grid;
  gap: 12px;
}

.market-replay-insight-signals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-replay-insight-signal {
  min-width: 0;
  padding: 15px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-insight-signal.positive {
  border-color: rgba(4,147,74,0.24);
  background: rgba(4,147,74,0.04);
}

.market-replay-insight-signal.negative {
  border-color: rgba(227,49,49,0.24);
  background: rgba(227,49,49,0.04);
}

.market-replay-insight-signal strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

.market-replay-insight-signal.positive strong {
  color: #04934a;
}

.market-replay-insight-signal.negative strong {
  color: #e33131;
}

.market-replay-insight-signal p {
  margin: 8px 0 0;
  color: #40536b;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-insight-ad-grid,
.market-replay-insight-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-replay-insight-ad {
  min-width: 0;
  padding: 16px;
  border: 1px dashed rgba(47,128,237,0.42);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(240,247,255,0.96), rgba(255,255,255,0.96)),
    repeating-linear-gradient(135deg, rgba(47,128,237,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-insight-ad.primary {
  border-color: rgba(4,147,74,0.38);
  background:
    linear-gradient(135deg, rgba(238,252,245,0.96), rgba(255,255,255,0.98)),
    repeating-linear-gradient(135deg, rgba(4,147,74,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-insight-ad.wide {
  min-height: 94px;
}

.market-replay-insight-ad span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff;
  color: #1265e8;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(47,128,237,0.18);
}

.market-replay-insight-ad strong,
.market-replay-insight-split > div > strong,
.market-replay-insight-steps strong {
  display: block;
  margin-top: 9px;
  color: #071d3a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-insight-split > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-insight-split .market-replay-detail-list {
  margin-top: 12px;
}

.market-replay-insight-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-insight-steps > div {
  min-width: 0;
  padding: 15px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fff;
}

.market-replay-insight-steps b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e9f3ff;
  color: #1265e8;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-insight-steps span {
  display: block;
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-strategy-modal {
  display: grid;
  gap: 18px;
}

.market-replay-strategy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #d9c8ff;
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 8%, rgba(227,49,49,0.08), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fbf8ff 100%);
}

.market-replay-strategy-hero span,
.market-replay-strategy-focus b {
  display: block;
  color: #64758b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-strategy-hero strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 26px;
  line-height: 1.22;
  font-weight: 900;
  word-break: keep-all;
}

.market-replay-strategy-hero p,
.market-replay-strategy-focus span,
.market-replay-strategy-split p,
.market-replay-strategy-steps p {
  margin: 8px 0 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  word-break: keep-all;
}

.market-replay-strategy-hero em {
  display: block;
  margin-top: 10px;
  color: #6b7d93;
  font-size: 12px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 800;
}

.market-replay-strategy-focus {
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
}

.market-replay-strategy-focus strong {
  display: block;
  margin-top: 8px;
  color: #6c3ff2;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 900;
}

.market-replay-strategy-steps,
.market-replay-strategy-split {
  display: grid;
  gap: 12px;
}

.market-replay-strategy-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-replay-strategy-steps article {
  min-width: 0;
  padding: 15px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fff;
}

.market-replay-strategy-steps article.positive {
  border-color: rgba(4,147,74,0.24);
  background: rgba(4,147,74,0.04);
}

.market-replay-strategy-steps article.negative {
  border-color: rgba(227,49,49,0.24);
  background: rgba(227,49,49,0.04);
}

.market-replay-strategy-steps article.blue {
  border-color: rgba(18,101,232,0.22);
  background: rgba(18,101,232,0.04);
}

.market-replay-strategy-steps b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9f3ff;
  color: #1265e8;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-strategy-steps article.positive b {
  background: #e7f8ef;
  color: #04934a;
}

.market-replay-strategy-steps article.negative b {
  background: #ffe7e7;
  color: #e33131;
}

.market-replay-strategy-steps strong,
.market-replay-strategy-split > div > strong {
  display: block;
  margin-top: 10px;
  color: #071d3a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-strategy-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-replay-strategy-split > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-strategy-split .market-replay-detail-list {
  margin-top: 12px;
}

.market-replay-checklist-modal {
  display: grid;
  gap: 18px;
}

.market-replay-checklist-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr);
  gap: 16px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #cfe0f6;
  border-radius: 16px;
  background:
    radial-gradient(circle at 94% 10%, rgba(4,147,74,0.12), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f7fbff 100%);
}

.market-replay-checklist-hero span,
.market-replay-checklist-score span,
.market-replay-checklist-cards span {
  display: block;
  color: #64758b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-checklist-hero strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
  word-break: keep-all;
}

.market-replay-checklist-hero p,
.market-replay-checklist-score p,
.market-replay-checklist-cards p,
.market-replay-checklist-split p {
  margin: 8px 0 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  word-break: keep-all;
}

.market-replay-checklist-score {
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: rgba(255,255,255,0.84);
}

.market-replay-checklist-score strong {
  display: block;
  margin-top: 8px;
  color: #04934a;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.market-replay-checklist-cards,
.market-replay-checklist-split {
  display: grid;
  gap: 12px;
}

.market-replay-checklist-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-checklist-cards article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 15px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fff;
}

.market-replay-checklist-cards article.positive {
  border-color: rgba(4,147,74,0.24);
  background: rgba(4,147,74,0.04);
}

.market-replay-checklist-cards article.negative {
  border-color: rgba(227,49,49,0.24);
  background: rgba(227,49,49,0.04);
}

.market-replay-checklist-cards b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9f3ff;
  color: #1265e8;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-checklist-cards article.positive b {
  background: #e7f8ef;
  color: #04934a;
}

.market-replay-checklist-cards article.negative b {
  background: #ffe7e7;
  color: #e33131;
}

.market-replay-checklist-cards strong,
.market-replay-checklist-split > div > strong {
  display: block;
  margin-top: 7px;
  color: #071d3a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-checklist-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-replay-checklist-split > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-checklist-split .market-replay-detail-list {
  margin-top: 12px;
}

.market-replay-conclusion-modal {
  display: grid;
  gap: 16px;
}

.market-replay-conclusion-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(125,84,255,0.26);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(125,84,255,0.08), rgba(255,255,255,0.96));
}

.market-replay-conclusion-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(125,84,255,0.13);
  color: #7d54ff;
  font-size: 18px;
  font-weight: 900;
}

.market-replay-conclusion-hero span {
  display: block;
  color: #6b7d93;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-conclusion-hero h3 {
  margin: 6px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-conclusion-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-conclusion-evidence,
.market-replay-conclusion-flow,
.market-replay-conclusion-balance,
.market-replay-conclusion-split {
  display: grid;
  gap: 12px;
}

.market-replay-conclusion-evidence {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-conclusion-evidence > div,
.market-replay-conclusion-flow > div,
.market-replay-conclusion-balance > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-conclusion-evidence span,
.market-replay-conclusion-balance span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-conclusion-evidence strong,
.market-replay-conclusion-balance strong {
  display: block;
  margin-top: 7px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.market-replay-conclusion-evidence p,
.market-replay-conclusion-balance p {
  margin: 7px 0 0;
  color: #52667d;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-conclusion-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-conclusion-flow b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b6cff;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-conclusion-flow strong {
  display: block;
  margin-top: 10px;
  color: #071d3a;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 900;
}

.market-replay-conclusion-flow span {
  display: block;
  margin-top: 6px;
  color: #52667d;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.market-replay-conclusion-balance {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-replay-conclusion-balance > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-conclusion-balance > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-conclusion-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-replay-conclusion-split > div {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fff;
}

.market-replay-conclusion-split h4 {
  margin: 0 0 2px;
  color: #071d3a;
  font-size: 13px;
  font-weight: 900;
}

.market-replay-conclusion-candidate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  background: #f8fbff;
}

.market-replay-conclusion-candidate i {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b6cff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-conclusion-candidate strong,
.market-replay-conclusion-candidate span,
.market-replay-conclusion-candidate em {
  display: block;
}

.market-replay-conclusion-candidate strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-conclusion-candidate span,
.market-replay-conclusion-candidate em {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 800;
}

.market-replay-conclusion-candidate b {
  color: #071d3a;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-score-modal {
  display: grid;
  gap: 16px;
}

.market-replay-score-hero {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(11,108,255,0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11,108,255,0.07), rgba(255,255,255,0.96));
}

.market-replay-score-gauge {
  position: relative;
  min-height: 126px;
  display: grid;
  place-items: center;
}

.market-replay-score-gauge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.market-replay-score-gauge path {
  fill: none;
  stroke-width: 20;
  stroke-linecap: round;
}

.market-replay-score-gauge .track {
  stroke: #dfe7f2;
}

.market-replay-score-gauge .fill {
  stroke: #4f66ff;
  stroke-dasharray: 168 220;
}

.market-replay-score-gauge strong {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  color: #071d3a;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.market-replay-score-gauge span {
  position: relative;
  z-index: 1;
  margin-top: -28px;
  margin-left: 78px;
  color: #071d3a;
  font-size: 15px;
  font-weight: 900;
}

.market-replay-score-hero > div:last-child > span {
  display: block;
  color: #6b7d93;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-score-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-score-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-score-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-score-breakdown > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-score-breakdown span,
.market-replay-score-breakdown p {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-score-breakdown strong {
  display: block;
  margin-top: 7px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.market-replay-score-breakdown p {
  margin: 7px 0 0;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-score-factors {
  display: grid;
  gap: 10px;
}

.market-replay-score-factors > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-score-factors b {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-score-factors.positive b {
  background: rgba(4,147,74,0.12);
  color: #04934a;
}

.market-replay-score-factors.negative b {
  background: rgba(227,49,49,0.12);
  color: #e33131;
}

.market-replay-score-factors strong {
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-score-factors span {
  color: #52667d;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-score-driver-list {
  display: grid;
  gap: 9px;
}

.market-replay-score-driver {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-score-driver i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b6cff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-score-driver strong,
.market-replay-score-driver span,
.market-replay-score-driver em {
  display: block;
}

.market-replay-score-driver strong {
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-score-driver span,
.market-replay-score-driver em {
  color: #5f7288;
  font-size: 12px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 700;
}

.market-replay-score-driver b {
  color: #071d3a;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-summary-modal {
  display: grid;
  gap: 16px;
}

.market-replay-summary-hero {
  padding: 18px;
  border: 1px solid rgba(11,108,255,0.22);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11,108,255,0.06), rgba(255,255,255,0.98));
}

.market-replay-summary-hero span {
  display: block;
  color: #6b7d93;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-summary-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-summary-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-summary-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.market-replay-summary-kpi {
  min-width: 0;
  padding: 13px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-summary-kpi span,
.market-replay-summary-kpi em {
  display: block;
  color: #5f7288;
  font-size: 11px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 800;
}

.market-replay-summary-kpi strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.market-replay-summary-kpi em {
  margin-top: 7px;
  font-weight: 700;
}

.market-replay-summary-signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.market-replay-summary-signal {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fff;
}

.market-replay-summary-signal b {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #0b6cff;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-summary-signal.positive b {
  background: rgba(4,147,74,0.11);
  color: #04934a;
}

.market-replay-summary-signal.negative b {
  background: rgba(227,49,49,0.11);
  color: #e33131;
}

.market-replay-summary-signal strong,
.market-replay-summary-signal span {
  display: block;
}

.market-replay-summary-signal strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-summary-signal span {
  margin-top: 4px;
  color: #52667d;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-summary-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-summary-split > div {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fff;
}

.market-replay-summary-split > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.035);
}

.market-replay-summary-split > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.035);
}

.market-replay-summary-split h4 {
  margin: 0 0 2px;
  color: #071d3a;
  font-size: 13px;
  font-weight: 900;
}

.market-replay-summary-candidate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
}

.market-replay-summary-candidate i {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b6cff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-summary-candidate strong,
.market-replay-summary-candidate span,
.market-replay-summary-candidate em {
  display: block;
}

.market-replay-summary-candidate strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-summary-candidate span,
.market-replay-summary-candidate em {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 800;
}

.market-replay-summary-candidate b {
  color: #071d3a;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-etf-modal {
  display: grid;
  gap: 16px;
}

.market-replay-etf-hero {
  padding: 18px;
  border: 1px solid rgba(4,147,74,0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(4,147,74,0.07), rgba(255,255,255,0.98));
}

.market-replay-etf-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-etf-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-etf-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-etf-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-etf-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #fff;
}

.market-replay-etf-chart {
  display: block;
  width: 100%;
  min-width: 920px;
  height: auto;
}

.market-replay-etf-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-etf-zero {
  stroke: rgba(15,35,65,0.35);
  stroke-width: 1.4;
}

.market-replay-etf-average {
  stroke: #0b6cff;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
}

.market-replay-etf-average-label,
.market-replay-etf-axis,
.market-replay-etf-label,
.market-replay-etf-score-label,
.market-replay-etf-value {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-etf-average-label {
  fill: #0b6cff;
  font-size: 12px;
}

.market-replay-etf-axis {
  fill: #7a8ba0;
  font-size: 11px;
}

.market-replay-etf-axis.right {
  text-anchor: start;
}

.market-replay-etf-bar.positive {
  fill: url("#etfReturnPositive");
}

.market-replay-etf-bar.negative {
  fill: url("#etfReturnNegative");
}

.market-replay-etf-score-line {
  fill: none;
  stroke: #6c3ff2;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-etf-score-point {
  fill: #fff;
  stroke: #6c3ff2;
  stroke-width: 3;
}

.market-replay-etf-risk-dot {
  fill: #e33131;
  stroke: #fff;
  stroke-width: 2;
}

.market-replay-etf-value {
  font-size: 11px;
}

.market-replay-etf-value.positive {
  fill: #04934a;
}

.market-replay-etf-value.negative {
  fill: #e33131;
}

.market-replay-etf-score-label {
  fill: #6b7d93;
  font-size: 9.5px;
}

.market-replay-etf-label-object {
  overflow: visible;
}

.market-replay-etf-label-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 68px;
  height: 58px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9.5px;
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-etf-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-etf-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-etf-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-etf-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-etf-chart-legend .bar {
  background: #04934a;
}

.market-replay-etf-chart-legend .line {
  height: 3px;
  background: #6c3ff2;
}

.market-replay-etf-chart-legend .avg {
  height: 3px;
  background: repeating-linear-gradient(90deg, #0b6cff 0 6px, transparent 6px 10px);
}

.market-replay-etf-chart-legend .risk {
  width: 10px;
  height: 10px;
  background: #e33131;
}

.market-replay-etf-reading {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-etf-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-etf-reading > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-etf-reading > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-etf-reading strong,
.market-replay-etf-reading span,
.market-replay-etf-reading em {
  display: block;
}

.market-replay-etf-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-etf-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-etf-reading em {
  margin-top: 6px;
  color: #04934a;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-etf-reading > .negative em {
  color: #e33131;
}

.market-replay-etf-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-etf-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-etf-detail-row.risk {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.035);
}

.market-replay-etf-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eaf8f1;
  color: #04934a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-etf-detail-row strong,
.market-replay-etf-detail-row span,
.market-replay-etf-detail-row b,
.market-replay-etf-detail-row em,
.market-replay-etf-detail-row small {
  display: block;
}

.market-replay-etf-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-etf-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-etf-detail-row b,
.market-replay-etf-detail-row em,
.market-replay-etf-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-etf-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(4,147,74,0.1);
  color: #04934a;
}

.market-replay-etf-detail-row.risk small {
  background: rgba(227,49,49,0.1);
  color: #e33131;
}

.market-replay-watch-etf-modal {
  display: grid;
  gap: 16px;
}

.market-replay-watch-etf-hero {
  padding: 18px;
  border: 1px solid rgba(4,147,74,0.26);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(235,252,244,0.88), rgba(255,255,255,0.98)),
    radial-gradient(circle at 96% 10%, rgba(47,128,237,0.13), transparent 34%);
}

.market-replay-watch-etf-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-watch-etf-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-watch-etf-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-watch-etf-kpis,
.market-replay-watch-etf-reading {
  display: grid;
  gap: 12px;
}

.market-replay-watch-etf-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-replay-watch-etf-reading {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-watch-etf-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #fff;
}

.market-replay-watch-etf-chart {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.market-replay-watch-etf-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-watch-etf-zero {
  stroke: rgba(15,35,65,0.35);
  stroke-width: 1.4;
}

.market-replay-watch-etf-average {
  stroke: #0b6cff;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
}

.market-replay-watch-etf-axis,
.market-replay-watch-etf-average-label,
.market-replay-watch-etf-value,
.market-replay-watch-etf-liquidity-label {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-watch-etf-axis {
  fill: #7a8ba0;
  font-size: 10px;
}

.market-replay-watch-etf-axis.right {
  text-anchor: start;
}

.market-replay-watch-etf-average-label {
  fill: #0b6cff;
  font-size: 12px;
}

.market-replay-watch-etf-bar.positive {
  fill: url("#watchEtfReturnPositive");
}

.market-replay-watch-etf-bar.negative {
  fill: url("#watchEtfReturnNegative");
}

.market-replay-watch-etf-liquidity {
  fill: rgba(47,128,237,0.34);
}

.market-replay-watch-etf-value {
  font-size: 11px;
}

.market-replay-watch-etf-value.positive {
  fill: #04934a;
}

.market-replay-watch-etf-value.negative {
  fill: #e33131;
}

.market-replay-watch-etf-liquidity-label {
  fill: #52667d;
  font-size: 8.8px;
}

.market-replay-watch-etf-ai-line {
  fill: none;
  stroke: #6c3ff2;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.78;
}

.market-replay-watch-etf-score-line {
  fill: none;
  stroke: #04934a;
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-watch-etf-ai-point {
  fill: #fff;
  stroke: #6c3ff2;
  stroke-width: 2.6;
}

.market-replay-watch-etf-score-point {
  fill: #fff;
  stroke: #04934a;
  stroke-width: 3;
}

.market-replay-watch-etf-risk-dot {
  fill: #e33131;
  stroke: #fff;
  stroke-width: 2;
}

.market-replay-watch-etf-label-object {
  overflow: visible;
}

.market-replay-watch-etf-label-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
  height: 76px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9.2px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.market-replay-watch-etf-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-watch-etf-label-block b {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(82,102,125,0.14);
  color: #04934a;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.market-replay-watch-etf-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-watch-etf-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-watch-etf-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-watch-etf-chart-legend .bar {
  background: #04934a;
}

.market-replay-watch-etf-chart-legend .ai {
  height: 3px;
  background: #6c3ff2;
}

.market-replay-watch-etf-chart-legend .score {
  height: 3px;
  background: #04934a;
}

.market-replay-watch-etf-chart-legend .avg {
  height: 3px;
  background: repeating-linear-gradient(90deg, #0b6cff 0 6px, transparent 6px 10px);
}

.market-replay-watch-etf-chart-legend .liquidity {
  background: #2f80ed;
}

.market-replay-watch-etf-chart-legend .risk {
  width: 10px;
  height: 10px;
  background: #e33131;
}

.market-replay-watch-etf-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-watch-etf-reading > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-watch-etf-reading strong,
.market-replay-watch-etf-reading span,
.market-replay-watch-etf-reading em {
  display: block;
}

.market-replay-watch-etf-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-watch-etf-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-watch-etf-reading em {
  margin-top: 6px;
  color: #04934a;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-watch-etf-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-watch-etf-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-watch-etf-detail-row.risk {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.035);
}

.market-replay-watch-etf-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eaf8f1;
  color: #04934a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-watch-etf-detail-row strong,
.market-replay-watch-etf-detail-row span,
.market-replay-watch-etf-detail-row b,
.market-replay-watch-etf-detail-row em,
.market-replay-watch-etf-detail-row small {
  display: block;
}

.market-replay-watch-etf-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-watch-etf-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-watch-etf-detail-row b,
.market-replay-watch-etf-detail-row em,
.market-replay-watch-etf-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-watch-etf-detail-row b.positive {
  color: #04934a;
}

.market-replay-watch-etf-detail-row b.negative {
  color: #e33131;
}

.market-replay-watch-etf-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(4,147,74,0.1);
  color: #04934a;
}

.market-replay-watch-etf-detail-row.risk small {
  background: rgba(227,49,49,0.1);
  color: #e33131;
}

.market-replay-watch-etf-ads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-watch-etf-ad {
  min-height: 88px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px dashed rgba(4,147,74,0.36);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(238,252,245,0.96), rgba(255,255,255,0.98)),
    repeating-linear-gradient(135deg, rgba(4,147,74,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-watch-etf-ad.primary {
  border-color: rgba(47,128,237,0.36);
  background:
    linear-gradient(135deg, rgba(240,247,255,0.96), rgba(255,255,255,0.98)),
    repeating-linear-gradient(135deg, rgba(47,128,237,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-watch-etf-ad.wide {
  min-height: 96px;
}

.market-replay-watch-etf-ad span {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  height: 22px;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #04934a;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(4,147,74,0.2);
}

.market-replay-watch-etf-ad.primary span {
  color: #1265e8;
  box-shadow: inset 0 0 0 1px rgba(47,128,237,0.18);
}

.market-replay-watch-etf-ad strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-watch-etf-ad p {
  margin: 6px 0 0;
  color: #6b7d93;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-caution-etf-modal {
  display: grid;
  gap: 16px;
}

.market-replay-caution-etf-hero {
  padding: 18px;
  border: 1px solid rgba(227,49,49,0.24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,239,239,0.82), rgba(255,255,255,0.98)),
    radial-gradient(circle at 96% 8%, rgba(240,124,26,0.18), transparent 34%);
}

.market-replay-caution-etf-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-caution-etf-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-caution-etf-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-caution-etf-kpis,
.market-replay-caution-etf-reading,
.market-replay-caution-etf-ads {
  display: grid;
  gap: 12px;
}

.market-replay-caution-etf-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-replay-caution-etf-reading {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-caution-etf-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #f1d5d5;
  border-radius: 16px;
  background: #fff;
}

.market-replay-caution-etf-chart {
  display: block;
  width: 100%;
  min-width: 1040px;
  height: auto;
}

.market-replay-caution-etf-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-caution-etf-zero {
  stroke: rgba(15,35,65,0.34);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
}

.market-replay-caution-etf-average {
  stroke: #1265e8;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
}

.market-replay-caution-etf-axis,
.market-replay-caution-etf-average-label,
.market-replay-caution-etf-value,
.market-replay-caution-etf-liquidity-label {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-caution-etf-axis {
  fill: #7a8ba0;
  font-size: 10px;
}

.market-replay-caution-etf-average-label {
  fill: #1265e8;
  font-size: 12px;
}

.market-replay-caution-etf-bar.positive {
  fill: url(#cautionEtfReturnPositive);
}

.market-replay-caution-etf-bar.negative {
  fill: url(#cautionEtfReturnNegative);
}

.market-replay-caution-etf-liquidity.low {
  fill: rgba(122,139,160,0.24);
}

.market-replay-caution-etf-liquidity.medium {
  fill: rgba(240,124,26,0.38);
}

.market-replay-caution-etf-liquidity.high {
  fill: rgba(227,49,49,0.46);
}

.market-replay-caution-etf-value {
  font-size: 11px;
}

.market-replay-caution-etf-value.positive {
  fill: #04934a;
}

.market-replay-caution-etf-value.negative {
  fill: #e33131;
}

.market-replay-caution-etf-liquidity-label {
  fill: #52667d;
  font-size: 9px;
}

.market-replay-caution-etf-risk-line,
.market-replay-caution-etf-ai-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-caution-etf-risk-line {
  stroke: #e33131;
  stroke-width: 3.6;
}

.market-replay-caution-etf-ai-line {
  stroke: #6a40ff;
  stroke-width: 2.4;
  stroke-dasharray: 7 6;
}

.market-replay-caution-etf-risk-point {
  fill: #fff;
  stroke-width: 3;
}

.market-replay-caution-etf-risk-point.low {
  stroke: #7a8ba0;
}

.market-replay-caution-etf-risk-point.medium {
  stroke: #f07c1a;
}

.market-replay-caution-etf-risk-point.high {
  stroke: #e33131;
}

.market-replay-caution-etf-ai-point {
  fill: #fff;
  stroke: #6a40ff;
  stroke-width: 2.4;
}

.market-replay-caution-etf-label-object {
  overflow: visible;
}

.market-replay-caution-etf-label-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 84px;
  height: 84px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9px;
  line-height: 1.22;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.market-replay-caution-etf-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-caution-etf-label-block b {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(82,102,125,0.14);
  color: #e33131;
  font-size: 9.5px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.market-replay-caution-etf-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-caution-etf-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-caution-etf-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-caution-etf-chart-legend .risk-line {
  height: 3px;
  background: #e33131;
}

.market-replay-caution-etf-chart-legend .ai {
  height: 3px;
  background: repeating-linear-gradient(90deg, #6a40ff 0 7px, transparent 7px 11px);
}

.market-replay-caution-etf-chart-legend .avg {
  height: 3px;
  background: repeating-linear-gradient(90deg, #1265e8 0 7px, transparent 7px 11px);
}

.market-replay-caution-etf-chart-legend .return {
  background: #f07c1a;
}

.market-replay-caution-etf-chart-legend .liquidity {
  background: #f6b27b;
}

.market-replay-caution-etf-chart-legend .high {
  background: #e33131;
}

.market-replay-caution-etf-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-caution-etf-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #ffd2d2;
  border-radius: 12px;
  background: #fff;
}

.market-replay-caution-etf-detail-row.medium {
  border-color: rgba(240,124,26,0.36);
  background: rgba(255,248,241,0.8);
}

.market-replay-caution-etf-detail-row.high {
  border-color: rgba(227,49,49,0.28);
  background: rgba(227,49,49,0.04);
}

.market-replay-caution-etf-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffeaea;
  color: #e33131;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-caution-etf-detail-row strong,
.market-replay-caution-etf-detail-row span,
.market-replay-caution-etf-detail-row b,
.market-replay-caution-etf-detail-row em,
.market-replay-caution-etf-detail-row small {
  display: block;
}

.market-replay-caution-etf-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-caution-etf-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-caution-etf-detail-row b,
.market-replay-caution-etf-detail-row em,
.market-replay-caution-etf-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-caution-etf-detail-row b.positive {
  color: #04934a;
}

.market-replay-caution-etf-detail-row b.negative {
  color: #e33131;
}

.market-replay-caution-etf-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(240,124,26,0.1);
  color: #f07c1a;
}

.market-replay-caution-etf-detail-row.high small {
  background: rgba(227,49,49,0.1);
  color: #e33131;
}

.market-replay-caution-etf-ads {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-replay-caution-etf-ad {
  min-height: 88px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px dashed rgba(227,49,49,0.34);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,248,248,0.96), rgba(255,255,255,0.98)),
    repeating-linear-gradient(135deg, rgba(227,49,49,0.07) 0 8px, transparent 8px 18px);
}

.market-replay-caution-etf-ad.primary {
  border-color: rgba(240,124,26,0.38);
  background:
    linear-gradient(135deg, rgba(255,248,241,0.96), rgba(255,255,255,0.98)),
    repeating-linear-gradient(135deg, rgba(240,124,26,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-caution-etf-ad.wide {
  min-height: 96px;
}

.market-replay-caution-etf-ad span {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  height: 22px;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #e33131;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(227,49,49,0.18);
}

.market-replay-caution-etf-ad.primary span {
  color: #f07c1a;
  box-shadow: inset 0 0 0 1px rgba(240,124,26,0.2);
}

.market-replay-caution-etf-ad strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-caution-etf-ad p {
  margin: 6px 0 0;
  color: #6b7d93;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-watch-stock-modal {
  display: grid;
  gap: 16px;
}

.market-replay-watch-stock-hero {
  padding: 18px;
  border: 1px solid rgba(4,147,74,0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(4,147,74,0.07), rgba(255,255,255,0.98));
}

.market-replay-watch-stock-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-watch-stock-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-watch-stock-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-watch-stock-kpis,
.market-replay-watch-stock-reading,
.market-replay-watch-stock-ads {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-watch-stock-ads {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-replay-watch-stock-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #cfe9dc;
  border-radius: 16px;
  background: #fff;
}

.market-replay-watch-stock-chart {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.market-replay-watch-stock-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-watch-stock-zero {
  stroke: rgba(15,35,65,0.35);
  stroke-width: 1.4;
}

.market-replay-watch-stock-average {
  stroke: #0b6cff;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
}

.market-replay-watch-stock-axis,
.market-replay-watch-stock-average-label,
.market-replay-watch-stock-value,
.market-replay-watch-stock-coverage-label,
.market-replay-watch-stock-weight-label {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-watch-stock-axis {
  fill: #7a8ba0;
  font-size: 11px;
}

.market-replay-watch-stock-axis.right {
  text-anchor: start;
}

.market-replay-watch-stock-average-label {
  fill: #0b6cff;
  font-size: 12px;
}

.market-replay-watch-stock-bar.positive {
  fill: url("#watchStockReturnPositive");
}

.market-replay-watch-stock-bar.negative {
  fill: url("#watchStockReturnNegative");
}

.market-replay-watch-stock-value {
  font-size: 11px;
}

.market-replay-watch-stock-value.positive {
  fill: #04934a;
}

.market-replay-watch-stock-value.negative {
  fill: #e33131;
}

.market-replay-watch-stock-coverage {
  fill: rgba(4,147,74,0.35);
}

.market-replay-watch-stock-weight.positive {
  fill: rgba(11,108,255,0.48);
}

.market-replay-watch-stock-weight.negative {
  fill: rgba(227,49,49,0.42);
}

.market-replay-watch-stock-coverage-label,
.market-replay-watch-stock-weight-label {
  fill: #52667d;
  font-size: 9px;
}

.market-replay-watch-stock-score-line,
.market-replay-watch-stock-tech-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-watch-stock-score-line {
  stroke: #04934a;
  stroke-width: 4;
}

.market-replay-watch-stock-tech-line {
  stroke: #6c3ff2;
  stroke-width: 3;
  stroke-dasharray: 8 7;
}

.market-replay-watch-stock-score-point {
  fill: #fff;
  stroke: #04934a;
  stroke-width: 3;
}

.market-replay-watch-stock-tech-point {
  fill: #fff;
  stroke: #6c3ff2;
  stroke-width: 2.5;
}

.market-replay-watch-stock-label-object {
  overflow: visible;
}

.market-replay-watch-stock-label-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 76px;
  height: 48px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9.5px;
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-watch-stock-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-watch-stock-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-watch-stock-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-watch-stock-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-watch-stock-chart-legend .bar {
  background: #04934a;
}

.market-replay-watch-stock-chart-legend .score {
  height: 3px;
  background: #04934a;
}

.market-replay-watch-stock-chart-legend .tech {
  height: 3px;
  background: repeating-linear-gradient(90deg, #6c3ff2 0 6px, transparent 6px 10px);
}

.market-replay-watch-stock-chart-legend .avg {
  height: 3px;
  background: repeating-linear-gradient(90deg, #0b6cff 0 6px, transparent 6px 10px);
}

.market-replay-watch-stock-chart-legend .coverage {
  height: 5px;
  background: rgba(4,147,74,0.42);
}

.market-replay-watch-stock-chart-legend .weight {
  height: 5px;
  background: rgba(11,108,255,0.48);
}

.market-replay-watch-stock-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-watch-stock-reading > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-watch-stock-reading > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-watch-stock-reading strong,
.market-replay-watch-stock-reading span,
.market-replay-watch-stock-reading em {
  display: block;
}

.market-replay-watch-stock-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-watch-stock-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-watch-stock-reading em {
  margin-top: 6px;
  color: #04934a;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-watch-stock-reading > .negative em {
  color: #e33131;
}

.market-replay-watch-stock-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-watch-stock-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #cfe9dc;
  border-radius: 12px;
  background: #fff;
}

.market-replay-watch-stock-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #04934a;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-watch-stock-detail-row strong,
.market-replay-watch-stock-detail-row span,
.market-replay-watch-stock-detail-row b,
.market-replay-watch-stock-detail-row em,
.market-replay-watch-stock-detail-row small {
  display: block;
}

.market-replay-watch-stock-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-watch-stock-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-watch-stock-detail-row b,
.market-replay-watch-stock-detail-row em,
.market-replay-watch-stock-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-watch-stock-detail-row b.positive {
  color: #04934a;
}

.market-replay-watch-stock-detail-row b.negative {
  color: #e33131;
}

.market-replay-watch-stock-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(4,147,74,0.1);
  color: #04934a;
}

.market-replay-watch-stock-ad {
  min-height: 88px;
  padding: 14px;
  border: 1px dashed rgba(4,147,74,0.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(4,147,74,0.06), rgba(255,255,255,0.94));
}

.market-replay-watch-stock-ad.primary {
  border-color: rgba(11,108,255,0.28);
  background: linear-gradient(135deg, rgba(11,108,255,0.06), rgba(255,255,255,0.96));
}

.market-replay-watch-stock-ad.wide {
  min-height: auto;
}

.market-replay-watch-stock-ad span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(4,147,74,0.12);
  color: #04934a;
  font-size: 11px;
  font-weight: 900;
}

.market-replay-watch-stock-ad.primary span {
  background: rgba(11,108,255,0.12);
  color: #0b6cff;
}

.market-replay-watch-stock-ad strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-watch-stock-ad p {
  margin: 6px 0 0;
  color: #6b7d93;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-caution-stock-modal {
  display: grid;
  gap: 16px;
}

.market-replay-caution-stock-hero {
  padding: 18px;
  border: 1px solid rgba(227,49,49,0.24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(227,49,49,0.07), rgba(255,255,255,0.98)),
    radial-gradient(circle at 95% 8%, rgba(255,142,29,0.1), transparent 32%);
}

.market-replay-caution-stock-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-caution-stock-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-caution-stock-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-caution-stock-kpis,
.market-replay-caution-stock-reading,
.market-replay-caution-stock-ads {
  display: grid;
  gap: 12px;
}

.market-replay-caution-stock-kpis,
.market-replay-caution-stock-reading {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-replay-caution-stock-ads {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.market-replay-caution-stock-chart-wrap {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid rgba(227,49,49,0.18);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,250,250,0.9), rgba(255,255,255,0.98)),
    radial-gradient(circle at 96% 0%, rgba(227,49,49,0.07), transparent 32%);
}

.market-replay-caution-stock-chart-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(227,49,49,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.86);
}

.market-replay-caution-stock-chart-guide strong {
  flex: 0 0 auto;
  color: #e33131;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-caution-stock-chart-guide p {
  margin: 0;
  color: #40536b;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 800;
}

.market-replay-caution-stock-chart-guide b {
  color: #e33131;
  font-weight: 900;
}

.market-replay-caution-stock-chart {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.market-replay-caution-stock-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-caution-stock-zero {
  stroke: rgba(15,35,65,0.35);
  stroke-width: 1.4;
}

.market-replay-caution-stock-zero-label {
  fill: #6b7d93;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
}

.market-replay-caution-stock-average {
  stroke: #0b6cff;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
}

.market-replay-caution-stock-risk-average {
  stroke: rgba(227,49,49,0.54);
  stroke-width: 1.8;
  stroke-dasharray: 5 7;
}

.market-replay-caution-stock-caution-line {
  stroke: #ff6b6b;
  stroke-width: 1.8;
  stroke-dasharray: 6 8;
}

.market-replay-caution-stock-caution-badge-bg {
  fill: rgba(255,255,255,0.92);
  stroke: rgba(227,49,49,0.24);
}

.market-replay-caution-stock-caution-badge {
  fill: #e33131;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
}

.market-replay-caution-stock-axis,
.market-replay-caution-stock-average-label,
.market-replay-caution-stock-risk-average-label,
.market-replay-caution-stock-value,
.market-replay-caution-stock-weight-label,
.market-replay-caution-stock-volatility-label {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-caution-stock-axis {
  fill: #7a8ba0;
  font-size: 10px;
}

.market-replay-caution-stock-average-label {
  fill: #0b6cff;
  font-size: 12px;
}

.market-replay-caution-stock-risk-average-label {
  fill: #e33131;
  font-size: 12px;
}

.market-replay-caution-stock-return.positive {
  fill: url("#cautionStockReturnPositive");
  filter: drop-shadow(0 8px 10px rgba(4,147,74,0.12));
}

.market-replay-caution-stock-return.negative {
  fill: url("#cautionStockReturnNegative");
  filter: drop-shadow(0 8px 10px rgba(227,49,49,0.12));
}

.market-replay-caution-stock-value {
  font-size: 11px;
}

.market-replay-caution-stock-return-label {
  fill: #8a9aab;
  font-family: inherit;
  font-size: 9px;
  font-weight: 900;
}

.market-replay-caution-stock-value.positive {
  fill: #04934a;
}

.market-replay-caution-stock-value.negative {
  fill: #e33131;
}

.market-replay-caution-stock-weight.positive {
  fill: rgba(4,147,74,0.42);
}

.market-replay-caution-stock-weight.negative {
  fill: rgba(227,49,49,0.48);
}

.market-replay-caution-stock-volatility.low {
  fill: rgba(107,125,147,0.28);
}

.market-replay-caution-stock-volatility.medium {
  fill: rgba(255,142,29,0.36);
}

.market-replay-caution-stock-volatility.high {
  fill: rgba(227,49,49,0.38);
}

.market-replay-caution-stock-weight-label,
.market-replay-caution-stock-volatility-label {
  fill: #52667d;
  font-size: 9px;
}

.market-replay-caution-stock-risk-line,
.market-replay-caution-stock-tech-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-caution-stock-risk-line {
  stroke: #e33131;
  stroke-width: 4;
  filter: drop-shadow(0 4px 7px rgba(227,49,49,0.16));
}

.market-replay-caution-stock-tech-line {
  stroke: #6c3ff2;
  stroke-width: 3;
  stroke-dasharray: 8 7;
}

.market-replay-caution-stock-risk-point {
  fill: #fff;
  stroke: #e33131;
  stroke-width: 3;
}

.market-replay-caution-stock-risk-point.medium {
  stroke: #ff8e1d;
}

.market-replay-caution-stock-risk-point.low {
  stroke: #6b7d93;
}

.market-replay-caution-stock-tech-point {
  fill: #fff;
  stroke: #6c3ff2;
  stroke-width: 2.5;
}

.market-replay-caution-stock-label-object {
  overflow: visible;
}

.market-replay-caution-stock-badge-object {
  overflow: visible;
}

.market-replay-caution-stock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  min-height: 24px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(227,49,49,0.09);
  color: #e33131;
  font-size: 9.5px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  white-space: normal;
}

.market-replay-caution-stock-label-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 84px;
  height: 58px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9.5px;
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-caution-stock-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-caution-stock-label-block b {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(82,102,125,0.14);
  color: #e33131;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 900;
}

.market-replay-caution-stock-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-caution-stock-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-caution-stock-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-caution-stock-chart-legend .risk-line {
  height: 3px;
  background: #e33131;
}

.market-replay-caution-stock-chart-legend .tech {
  height: 3px;
  background: repeating-linear-gradient(90deg, #6c3ff2 0 6px, transparent 6px 10px);
}

.market-replay-caution-stock-chart-legend .avg {
  height: 3px;
  background: repeating-linear-gradient(90deg, #0b6cff 0 6px, transparent 6px 10px);
}

.market-replay-caution-stock-chart-legend .return {
  background: #e33131;
}

.market-replay-caution-stock-chart-legend .weight {
  height: 5px;
  background: rgba(227,49,49,0.48);
}

.market-replay-caution-stock-chart-legend .volatility {
  background: rgba(255,142,29,0.45);
}

.market-replay-caution-stock-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-caution-stock-reading > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-caution-stock-reading > .negative {
  border-color: rgba(227,49,49,0.24);
  background: rgba(227,49,49,0.04);
}

.market-replay-caution-stock-reading strong,
.market-replay-caution-stock-reading span,
.market-replay-caution-stock-reading em {
  display: block;
}

.market-replay-caution-stock-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-caution-stock-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-caution-stock-reading em {
  margin-top: 6px;
  color: #e33131;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-caution-stock-reading > .positive em {
  color: #04934a;
}

.market-replay-caution-stock-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-caution-stock-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(227,49,49,0.2);
  border-radius: 12px;
  background: #fff;
}

.market-replay-caution-stock-detail-row.medium {
  border-color: rgba(255,142,29,0.26);
  background: rgba(255,142,29,0.035);
}

.market-replay-caution-stock-detail-row.high {
  border-color: rgba(227,49,49,0.28);
  background: rgba(227,49,49,0.045);
}

.market-replay-caution-stock-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e33131;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-caution-stock-detail-row strong,
.market-replay-caution-stock-detail-row span,
.market-replay-caution-stock-detail-row b,
.market-replay-caution-stock-detail-row em,
.market-replay-caution-stock-detail-row small {
  display: block;
}

.market-replay-caution-stock-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-caution-stock-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-caution-stock-detail-row b,
.market-replay-caution-stock-detail-row em,
.market-replay-caution-stock-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-caution-stock-detail-row b.positive {
  color: #04934a;
}

.market-replay-caution-stock-detail-row b.negative {
  color: #e33131;
}

.market-replay-caution-stock-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(227,49,49,0.1);
  color: #e33131;
}

.market-replay-caution-stock-detail-row.medium small {
  background: rgba(255,142,29,0.12);
  color: #d76d00;
}

.market-replay-caution-stock-ad {
  min-height: 88px;
  padding: 14px;
  border: 1px dashed rgba(227,49,49,0.36);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(227,49,49,0.06), rgba(255,255,255,0.95));
}

.market-replay-caution-stock-ad.primary {
  border-color: rgba(255,142,29,0.35);
  background: linear-gradient(135deg, rgba(255,142,29,0.07), rgba(255,255,255,0.96));
}

.market-replay-caution-stock-ad.wide {
  min-height: auto;
}

.market-replay-caution-stock-ad span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(227,49,49,0.12);
  color: #e33131;
  font-size: 11px;
  font-weight: 900;
}

.market-replay-caution-stock-ad.primary span {
  background: rgba(255,142,29,0.14);
  color: #d76d00;
}

.market-replay-caution-stock-ad strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-caution-stock-ad p {
  margin: 6px 0 0;
  color: #6b7d93;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-stock-modal {
  display: grid;
  gap: 16px;
}

.market-replay-stock-hero {
  padding: 18px;
  border: 1px solid rgba(11,108,255,0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11,108,255,0.07), rgba(255,255,255,0.98));
}

.market-replay-stock-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-stock-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-stock-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-stock-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-stock-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #fff;
}

.market-replay-stock-chart {
  display: block;
  width: 100%;
  min-width: 920px;
  height: auto;
}

.market-replay-stock-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-stock-zero {
  stroke: rgba(15,35,65,0.35);
  stroke-width: 1.4;
}

.market-replay-stock-average {
  stroke: #0b6cff;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
}

.market-replay-stock-average-label,
.market-replay-stock-axis,
.market-replay-stock-score-label,
.market-replay-stock-value {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-stock-average-label {
  fill: #0b6cff;
  font-size: 12px;
}

.market-replay-stock-axis {
  fill: #7a8ba0;
  font-size: 11px;
}

.market-replay-stock-axis.right {
  text-anchor: start;
}

.market-replay-stock-bar.positive {
  fill: url("#stockReturnPositive");
}

.market-replay-stock-bar.negative {
  fill: url("#stockReturnNegative");
}

.market-replay-stock-score-line {
  fill: none;
  stroke: #6c3ff2;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-stock-score-point {
  fill: #fff;
  stroke: #6c3ff2;
  stroke-width: 3;
}

.market-replay-stock-coverage-bar {
  fill: rgba(11,108,255,0.34);
}

.market-replay-stock-coverage-label {
  fill: #52667d;
  font-family: inherit;
  font-size: 9px;
  font-weight: 900;
}

.market-replay-stock-risk-dot {
  fill: #e33131;
  stroke: #fff;
  stroke-width: 2;
}

.market-replay-stock-value {
  font-size: 11px;
}

.market-replay-stock-value.positive {
  fill: #04934a;
}

.market-replay-stock-value.negative {
  fill: #e33131;
}

.market-replay-stock-score-label {
  fill: #6b7d93;
  font-size: 9.5px;
}

.market-replay-stock-label-object {
  overflow: visible;
}

.market-replay-stock-label-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 68px;
  height: 58px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9.5px;
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-stock-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-stock-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-stock-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-stock-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-stock-chart-legend .bar {
  background: #0b6cff;
}

.market-replay-stock-chart-legend .line {
  height: 3px;
  background: #6c3ff2;
}

.market-replay-stock-chart-legend .avg {
  height: 3px;
  background: repeating-linear-gradient(90deg, #0b6cff 0 6px, transparent 6px 10px);
}

.market-replay-stock-chart-legend .coverage {
  height: 5px;
  background: rgba(11,108,255,0.42);
}

.market-replay-stock-chart-legend .risk {
  width: 10px;
  height: 10px;
  background: #e33131;
}

.market-replay-stock-reading {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-stock-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-stock-reading > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-stock-reading > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-stock-reading strong,
.market-replay-stock-reading span,
.market-replay-stock-reading em {
  display: block;
}

.market-replay-stock-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-stock-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-stock-reading em {
  margin-top: 6px;
  color: #04934a;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-stock-reading > .negative em {
  color: #e33131;
}

.market-replay-stock-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-stock-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-stock-detail-row.risk {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.035);
}

.market-replay-stock-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b6cff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-stock-detail-row strong,
.market-replay-stock-detail-row span,
.market-replay-stock-detail-row b,
.market-replay-stock-detail-row em,
.market-replay-stock-detail-row small {
  display: block;
}

.market-replay-stock-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-stock-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-stock-detail-row b,
.market-replay-stock-detail-row em,
.market-replay-stock-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-stock-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(11,108,255,0.1);
  color: #0b6cff;
}

.market-replay-stock-detail-row.risk small {
  background: rgba(227,49,49,0.1);
  color: #e33131;
}

.market-replay-composition-modal {
  display: grid;
  gap: 16px;
}

.market-replay-composition-hero {
  padding: 18px;
  border: 1px solid rgba(11,108,255,0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11,108,255,0.07), rgba(255,255,255,0.98));
}

.market-replay-composition-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-composition-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-composition-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-composition-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-composition-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #fff;
}

.market-replay-composition-chart {
  display: block;
  width: 100%;
  min-width: 920px;
  height: auto;
}

.market-replay-composition-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-composition-zero {
  stroke: rgba(15,35,65,0.38);
  stroke-width: 1.6;
}

.market-replay-composition-axis,
.market-replay-composition-zero-label,
.market-replay-composition-value,
.market-replay-composition-count-label,
.market-replay-composition-score-label {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-composition-axis {
  fill: #7a8ba0;
  font-size: 11px;
}

.market-replay-composition-zero-label {
  fill: #52667d;
  font-size: 11px;
}

.market-replay-composition-delta.positive {
  fill: rgba(11,108,255,0.78);
}

.market-replay-composition-delta.negative {
  fill: rgba(227,49,49,0.78);
}

.market-replay-composition-value {
  font-size: 11px;
}

.market-replay-composition-value.positive {
  fill: #0b6cff;
}

.market-replay-composition-value.negative {
  fill: #e33131;
}

.market-replay-composition-count.include {
  fill: rgba(4,147,74,0.48);
}

.market-replay-composition-count.exclude {
  fill: rgba(227,49,49,0.42);
}

.market-replay-composition-count-label,
.market-replay-composition-score-label {
  fill: #52667d;
  font-size: 9px;
}

.market-replay-composition-risk-dot {
  fill: #e33131;
  stroke: #fff;
  stroke-width: 2;
}

.market-replay-composition-label-object {
  overflow: visible;
}

.market-replay-composition-label-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 68px;
  height: 58px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9.5px;
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.market-replay-composition-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-composition-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-composition-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-composition-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-composition-chart-legend .delta-plus {
  background: #0b6cff;
}

.market-replay-composition-chart-legend .delta-minus {
  background: #e33131;
}

.market-replay-composition-chart-legend .include {
  height: 5px;
  background: rgba(4,147,74,0.56);
}

.market-replay-composition-chart-legend .exclude {
  height: 5px;
  background: rgba(227,49,49,0.5);
}

.market-replay-composition-chart-legend .risk {
  width: 10px;
  height: 10px;
  background: #e33131;
}

.market-replay-composition-reading {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-composition-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-composition-reading > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-composition-reading > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-composition-reading strong,
.market-replay-composition-reading span,
.market-replay-composition-reading em {
  display: block;
}

.market-replay-composition-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-composition-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-composition-reading em {
  margin-top: 6px;
  color: #04934a;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-composition-reading > .negative em {
  color: #e33131;
}

.market-replay-composition-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-composition-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-composition-detail-row.risk {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.035);
}

.market-replay-composition-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef4ff;
  color: #0b6cff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-composition-detail-row strong,
.market-replay-composition-detail-row span,
.market-replay-composition-detail-row b,
.market-replay-composition-detail-row em,
.market-replay-composition-detail-row small {
  display: block;
}

.market-replay-composition-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-composition-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-composition-detail-row b,
.market-replay-composition-detail-row em,
.market-replay-composition-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-composition-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(11,108,255,0.1);
  color: #0b6cff;
}

.market-replay-composition-detail-row.risk small {
  background: rgba(227,49,49,0.1);
  color: #e33131;
}

.market-replay-reaction-modal {
  display: grid;
  gap: 16px;
}

.market-replay-reaction-hero {
  padding: 18px;
  border: 1px solid rgba(240,124,26,0.28);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(240,124,26,0.08), rgba(255,255,255,0.98));
}

.market-replay-reaction-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-reaction-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-reaction-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-reaction-kpis,
.market-replay-reaction-reading {
  display: grid;
  gap: 12px;
}

.market-replay-reaction-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-replay-reaction-reading {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-reaction-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #fff;
}

.market-replay-reaction-chart {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.market-replay-reaction-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-reaction-zero {
  stroke: rgba(15,35,65,0.36);
  stroke-width: 1.5;
}

.market-replay-reaction-average {
  stroke: #0b6cff;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
}

.market-replay-reaction-axis,
.market-replay-reaction-average-label,
.market-replay-reaction-value,
.market-replay-reaction-signal-label,
.market-replay-reaction-score-label {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-reaction-axis {
  fill: #7a8ba0;
  font-size: 11px;
}

.market-replay-reaction-average-label {
  fill: #0b6cff;
  font-size: 12px;
}

.market-replay-reaction-bar.positive {
  fill: url("#reactionPositive");
}

.market-replay-reaction-bar.negative {
  fill: url("#reactionNegative");
}

.market-replay-reaction-value {
  font-size: 11px;
}

.market-replay-reaction-value.positive {
  fill: #04934a;
}

.market-replay-reaction-value.negative {
  fill: #e33131;
}

.market-replay-reaction-score-line {
  fill: none;
  stroke: #6c3ff2;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-reaction-score-point {
  fill: #fff;
  stroke: #6c3ff2;
  stroke-width: 3;
}

.market-replay-reaction-signal.strong,
.market-replay-reaction-signal.positive {
  fill: rgba(4,147,74,0.55);
}

.market-replay-reaction-signal.neutral {
  fill: rgba(122,139,160,0.45);
}

.market-replay-reaction-signal.negative {
  fill: rgba(227,49,49,0.55);
}

.market-replay-reaction-signal-label,
.market-replay-reaction-score-label {
  fill: #52667d;
  font-size: 9px;
}

.market-replay-reaction-risk-dot {
  fill: #e33131;
  stroke: #fff;
  stroke-width: 2;
}

.market-replay-reaction-label-object {
  overflow: visible;
}

.market-replay-reaction-label-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 68px;
  height: 58px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9.5px;
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.market-replay-reaction-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-reaction-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-reaction-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-reaction-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-reaction-chart-legend .bar {
  background: #f07c1a;
}

.market-replay-reaction-chart-legend .line {
  height: 3px;
  background: #6c3ff2;
}

.market-replay-reaction-chart-legend .avg {
  height: 3px;
  background: repeating-linear-gradient(90deg, #0b6cff 0 6px, transparent 6px 10px);
}

.market-replay-reaction-chart-legend .signal {
  background: #04934a;
}

.market-replay-reaction-chart-legend .risk {
  width: 10px;
  height: 10px;
  background: #e33131;
}

.market-replay-reaction-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-reaction-reading > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-reaction-reading > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-reaction-reading strong,
.market-replay-reaction-reading span,
.market-replay-reaction-reading em {
  display: block;
}

.market-replay-reaction-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-reaction-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-reaction-reading em {
  margin-top: 6px;
  color: #04934a;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-reaction-reading > .negative em {
  color: #e33131;
}

.market-replay-reaction-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-reaction-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-reaction-detail-row.risk {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.035);
}

.market-replay-reaction-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff3e8;
  color: #f07c1a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-reaction-detail-row strong,
.market-replay-reaction-detail-row span,
.market-replay-reaction-detail-row b,
.market-replay-reaction-detail-row em,
.market-replay-reaction-detail-row small {
  display: block;
}

.market-replay-reaction-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-reaction-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-reaction-detail-row b,
.market-replay-reaction-detail-row em,
.market-replay-reaction-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-reaction-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(240,124,26,0.1);
  color: #f07c1a;
}

.market-replay-reaction-detail-row.risk small {
  background: rgba(227,49,49,0.1);
  color: #e33131;
}

.market-replay-reaction-ad {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed rgba(122,139,160,0.45);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(247,250,255,0.9), rgba(255,255,255,0.96));
}

.market-replay-reaction-ad div {
  text-align: center;
}

.market-replay-reaction-ad span {
  display: inline-grid;
  place-items: center;
  height: 22px;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #52667d;
  font-size: 11px;
  font-weight: 900;
}

.market-replay-reaction-ad strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 14px;
  font-weight: 900;
}

.market-replay-reaction-ad p {
  margin: 6px 0 0;
  color: #6b7d93;
  font-size: 12px;
  font-weight: 700;
}

.market-replay-risk-modal {
  display: grid;
  gap: 16px;
}

.market-replay-risk-hero {
  padding: 18px;
  border: 1px solid rgba(227,49,49,0.22);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,235,235,0.78), rgba(255,255,255,0.98)),
    radial-gradient(circle at 96% 8%, rgba(240,124,26,0.16), transparent 34%);
}

.market-replay-risk-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-risk-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-risk-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-risk-kpis,
.market-replay-risk-reading {
  display: grid;
  gap: 12px;
}

.market-replay-risk-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-replay-risk-reading {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-risk-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #fff;
}

.market-replay-risk-chart {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.market-replay-risk-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-risk-zero {
  stroke: rgba(15,35,65,0.36);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
}

.market-replay-risk-average {
  stroke: #f07c1a;
  stroke-width: 1.8;
  stroke-dasharray: 8 7;
}

.market-replay-risk-axis,
.market-replay-risk-average-label,
.market-replay-risk-value,
.market-replay-risk-volatility-label,
.market-replay-risk-score-label {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-risk-axis {
  fill: #7a8ba0;
  font-size: 10px;
}

.market-replay-risk-average-label {
  fill: #f07c1a;
  font-size: 12px;
}

.market-replay-risk-return.positive {
  fill: rgba(4,147,74,0.58);
}

.market-replay-risk-return.negative {
  fill: rgba(227,49,49,0.66);
}

.market-replay-risk-volatility.low {
  fill: rgba(122,139,160,0.26);
}

.market-replay-risk-volatility.medium {
  fill: rgba(240,124,26,0.45);
}

.market-replay-risk-volatility.high {
  fill: rgba(227,49,49,0.54);
}

.market-replay-risk-value {
  font-size: 11px;
}

.market-replay-risk-value.positive {
  fill: #04934a;
}

.market-replay-risk-value.negative {
  fill: #e33131;
}

.market-replay-risk-volatility-label,
.market-replay-risk-score-label {
  fill: #52667d;
  font-size: 9px;
}

.market-replay-risk-line {
  fill: none;
  stroke: #e33131;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-risk-point {
  fill: #fff;
  stroke-width: 3;
}

.market-replay-risk-point.low {
  stroke: #7a8ba0;
}

.market-replay-risk-point.medium {
  stroke: #f07c1a;
}

.market-replay-risk-point.high {
  stroke: #e33131;
}

.market-replay-risk-label-object {
  overflow: visible;
}

.market-replay-risk-label-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 88px;
  height: 102px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9px;
  line-height: 1.22;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.market-replay-risk-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-risk-label-block b {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(82,102,125,0.14);
  color: #52667d;
  font-size: 9.5px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.market-replay-risk-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-risk-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-risk-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-risk-chart-legend .risk-line {
  height: 3px;
  background: #e33131;
}

.market-replay-risk-chart-legend .avg {
  height: 3px;
  background: repeating-linear-gradient(90deg, #f07c1a 0 6px, transparent 6px 10px);
}

.market-replay-risk-chart-legend .return {
  background: #04934a;
}

.market-replay-risk-chart-legend .volatility {
  background: #f07c1a;
}

.market-replay-risk-chart-legend .high {
  width: 10px;
  height: 10px;
  background: #e33131;
}

.market-replay-risk-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-risk-reading > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-risk-reading strong,
.market-replay-risk-reading span,
.market-replay-risk-reading em {
  display: block;
}

.market-replay-risk-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-risk-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-risk-reading em {
  margin-top: 6px;
  color: #e33131;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-risk-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-risk-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-risk-detail-row.medium {
  border-color: rgba(240,124,26,0.28);
  background: rgba(240,124,26,0.04);
}

.market-replay-risk-detail-row.high {
  border-color: rgba(227,49,49,0.28);
  background: rgba(227,49,49,0.045);
}

.market-replay-risk-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffe8e8;
  color: #e33131;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-risk-detail-row strong,
.market-replay-risk-detail-row span,
.market-replay-risk-detail-row b,
.market-replay-risk-detail-row em,
.market-replay-risk-detail-row small {
  display: block;
}

.market-replay-risk-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-risk-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-risk-detail-row b,
.market-replay-risk-detail-row em,
.market-replay-risk-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-risk-detail-row b.positive {
  color: #04934a;
}

.market-replay-risk-detail-row b.negative {
  color: #e33131;
}

.market-replay-risk-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(122,139,160,0.1);
  color: #52667d;
}

.market-replay-risk-detail-row.medium small {
  background: rgba(240,124,26,0.12);
  color: #f07c1a;
}

.market-replay-risk-detail-row.high small {
  background: rgba(227,49,49,0.12);
  color: #e33131;
}

.market-replay-risk-ads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-risk-ad {
  min-height: 88px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px dashed rgba(227,49,49,0.34);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,248,248,0.96), rgba(255,255,255,0.96)),
    repeating-linear-gradient(135deg, rgba(227,49,49,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-risk-ad.primary {
  border-color: rgba(240,124,26,0.4);
  background:
    linear-gradient(135deg, rgba(255,247,237,0.96), rgba(255,255,255,0.98)),
    repeating-linear-gradient(135deg, rgba(240,124,26,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-risk-ad.wide {
  min-height: 96px;
}

.market-replay-risk-ad span {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  height: 22px;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #e33131;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(227,49,49,0.16);
}

.market-replay-risk-ad.primary span {
  color: #f07c1a;
  box-shadow: inset 0 0 0 1px rgba(240,124,26,0.2);
}

.market-replay-risk-ad strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-risk-ad p {
  margin: 6px 0 0;
  color: #6b7d93;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.market-replay-theme-modal {
  display: grid;
  gap: 16px;
}

.market-replay-theme-hero {
  padding: 18px;
  border: 1px solid rgba(47,128,237,0.24);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(232,242,255,0.82), rgba(255,255,255,0.98)),
    radial-gradient(circle at 96% 8%, rgba(4,147,74,0.12), transparent 34%);
}

.market-replay-theme-hero span {
  display: block;
  color: #5f7288;
  font-size: 12px;
  font-weight: 900;
}

.market-replay-theme-hero h3 {
  margin: 7px 0 8px;
  color: #071d3a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-theme-hero p {
  margin: 0;
  color: #40536b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.market-replay-theme-kpis,
.market-replay-theme-reading {
  display: grid;
  gap: 12px;
}

.market-replay-theme-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-replay-theme-reading {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-replay-theme-chart-wrap {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #fff;
}

.market-replay-theme-chart {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
}

.market-replay-theme-grid {
  stroke: rgba(15,35,65,0.13);
  stroke-width: 1;
  stroke-dasharray: 4 6;
}

.market-replay-theme-zero {
  stroke: rgba(15,35,65,0.3);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
}

.market-replay-theme-axis,
.market-replay-theme-value,
.market-replay-theme-return-label,
.market-replay-theme-overlap-label {
  font-family: inherit;
  font-weight: 900;
}

.market-replay-theme-axis {
  fill: #7a8ba0;
  font-size: 10px;
}

.market-replay-theme-frequency {
  fill: url("#themeFrequency");
}

.market-replay-theme-risk-bar {
  fill: url("#themeRisk");
  opacity: 0.9;
}

.market-replay-theme-value {
  fill: #1265e8;
  font-size: 11px;
}

.market-replay-theme-return {
  fill: #fff;
  stroke-width: 3;
}

.market-replay-theme-return.positive {
  stroke: #04934a;
}

.market-replay-theme-return.negative {
  stroke: #e33131;
}

.market-replay-theme-return-label {
  font-size: 11px;
}

.market-replay-theme-return-label.positive {
  fill: #04934a;
}

.market-replay-theme-return-label.negative {
  fill: #e33131;
}

.market-replay-theme-overlap-label {
  fill: #52667d;
  font-size: 9px;
}

.market-replay-theme-score-line {
  fill: none;
  stroke: #6c3ff2;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-replay-theme-score-point {
  fill: #fff;
  stroke: #6c3ff2;
  stroke-width: 3;
}

.market-replay-theme-label-object {
  overflow: visible;
}

.market-replay-theme-label-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
  height: 76px;
  overflow: hidden;
  color: #071d3a;
  font-size: 9.5px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.market-replay-theme-label-block span {
  display: block;
  max-width: 100%;
}

.market-replay-theme-label-block b {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(82,102,125,0.14);
  color: #e33131;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.market-replay-theme-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #52667d;
  font-size: 12px;
  font-weight: 800;
}

.market-replay-theme-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-replay-theme-chart-legend i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 999px;
}

.market-replay-theme-chart-legend .frequency {
  background: #2f80ed;
}

.market-replay-theme-chart-legend .line {
  height: 3px;
  background: #6c3ff2;
}

.market-replay-theme-chart-legend .return {
  width: 10px;
  height: 10px;
  background: #04934a;
}

.market-replay-theme-chart-legend .risk {
  background: #e33131;
}

.market-replay-theme-reading > div {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #fbfdff;
}

.market-replay-theme-reading > .positive {
  border-color: rgba(4,147,74,0.22);
  background: rgba(4,147,74,0.04);
}

.market-replay-theme-reading > .negative {
  border-color: rgba(227,49,49,0.22);
  background: rgba(227,49,49,0.04);
}

.market-replay-theme-reading strong,
.market-replay-theme-reading span,
.market-replay-theme-reading em {
  display: block;
}

.market-replay-theme-reading strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-theme-reading span {
  margin-top: 7px;
  color: #40536b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-theme-reading em {
  margin-top: 6px;
  color: #04934a;
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-theme-reading > .negative em {
  color: #e33131;
}

.market-replay-theme-detail-list {
  display: grid;
  gap: 8px;
}

.market-replay-theme-detail-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #dbe7f5;
  border-radius: 12px;
  background: #fff;
}

.market-replay-theme-detail-row.positive {
  border-color: rgba(4,147,74,0.2);
  background: rgba(4,147,74,0.035);
}

.market-replay-theme-detail-row.risk {
  border-color: rgba(227,49,49,0.24);
  background: rgba(227,49,49,0.04);
}

.market-replay-theme-detail-row i {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8f2ff;
  color: #1265e8;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.market-replay-theme-detail-row strong,
.market-replay-theme-detail-row span,
.market-replay-theme-detail-row b,
.market-replay-theme-detail-row em,
.market-replay-theme-detail-row small {
  display: block;
}

.market-replay-theme-detail-row strong {
  color: #071d3a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-theme-detail-row span {
  color: #5f7288;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.market-replay-theme-detail-row b,
.market-replay-theme-detail-row em,
.market-replay-theme-detail-row small {
  color: #071d3a;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.market-replay-theme-detail-row b.positive {
  color: #04934a;
}

.market-replay-theme-detail-row b.negative {
  color: #e33131;
}

.market-replay-theme-detail-row small {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(18,101,232,0.1);
  color: #1265e8;
}

.market-replay-theme-detail-row.risk small {
  background: rgba(227,49,49,0.11);
  color: #e33131;
}

.market-replay-theme-ads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.market-replay-theme-ad {
  min-height: 88px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px dashed rgba(47,128,237,0.38);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(240,247,255,0.96), rgba(255,255,255,0.96)),
    repeating-linear-gradient(135deg, rgba(47,128,237,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-theme-ad.primary {
  border-color: rgba(4,147,74,0.36);
  background:
    linear-gradient(135deg, rgba(238,252,245,0.96), rgba(255,255,255,0.98)),
    repeating-linear-gradient(135deg, rgba(4,147,74,0.08) 0 8px, transparent 8px 18px);
}

.market-replay-theme-ad.wide {
  min-height: 96px;
}

.market-replay-theme-ad span {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  height: 22px;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #1265e8;
  font-size: 11px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(47,128,237,0.18);
}

.market-replay-theme-ad.primary span {
  color: #04934a;
  box-shadow: inset 0 0 0 1px rgba(4,147,74,0.2);
}

.market-replay-theme-ad strong {
  display: block;
  margin-top: 8px;
  color: #071d3a;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.market-replay-theme-ad p {
  margin: 6px 0 0;
  color: #6b7d93;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .market-replay-top-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  }

  .market-replay-top-grid > .market-replay-card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .market-replay-service-grid,
  .market-replay-rank-grid,
  .market-replay-bottom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-bottom-grid > .market-replay-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .market-replay-head,
  .market-replay-top-grid,
  .market-replay-service-grid,
  .market-replay-rank-grid,
  .market-replay-bottom-grid {
    grid-template-columns: 1fr;
  }

  .market-replay-rule-chips {
    justify-content: flex-start;
  }

  .market-replay-date-control {
    min-width: 0;
  }

  .market-replay-top-grid > .market-replay-card:nth-child(3),
  .market-replay-bottom-grid > .market-replay-card:first-child {
    grid-column: auto;
  }

  .market-replay-conclusion {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .market-replay-bot {
    grid-column: 1 / -1;
    justify-self: start;
    grid-template-columns: auto auto;
  }

  .market-replay-detail-metrics,
  .market-replay-detail-row {
    grid-template-columns: 1fr;
  }

  .market-replay-detail-row b {
    justify-self: start;
  }

  .market-replay-conclusion-evidence,
  .market-replay-conclusion-flow,
  .market-replay-conclusion-balance,
  .market-replay-conclusion-split {
    grid-template-columns: 1fr;
  }

  .market-replay-score-hero,
  .market-replay-score-breakdown {
    grid-template-columns: 1fr;
  }

  .market-replay-score-gauge {
    max-width: 240px;
    justify-self: center;
  }

  .market-replay-summary-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-summary-signals,
  .market-replay-summary-split {
    grid-template-columns: 1fr;
  }

  .market-replay-etf-kpis,
  .market-replay-etf-reading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-etf-detail-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .market-replay-watch-etf-kpis,
  .market-replay-watch-etf-reading,
  .market-replay-watch-etf-ads,
  .market-replay-caution-etf-kpis,
  .market-replay-caution-etf-reading,
  .market-replay-caution-etf-ads,
  .market-replay-watch-stock-kpis,
  .market-replay-watch-stock-reading,
  .market-replay-watch-stock-ads,
  .market-replay-caution-stock-kpis,
  .market-replay-caution-stock-reading,
  .market-replay-caution-stock-ads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-watch-etf-detail-row,
  .market-replay-caution-etf-detail-row,
  .market-replay-watch-stock-detail-row,
  .market-replay-caution-stock-detail-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .market-replay-caution-stock-detail-row small {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .market-replay-stock-kpis,
  .market-replay-stock-reading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-stock-detail-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .market-replay-composition-kpis,
  .market-replay-composition-reading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-composition-detail-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .market-replay-reaction-kpis,
  .market-replay-reaction-reading {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-reaction-detail-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .market-replay-risk-kpis,
  .market-replay-risk-reading,
  .market-replay-risk-ads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-risk-detail-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .market-replay-theme-kpis,
  .market-replay-theme-reading,
  .market-replay-theme-ads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-replay-theme-detail-row {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .market-replay-insight-hero,
  .market-replay-insight-signals,
  .market-replay-insight-ad-grid,
  .market-replay-insight-split,
  .market-replay-insight-steps,
  .market-replay-strategy-hero,
  .market-replay-strategy-steps,
  .market-replay-strategy-split,
  .market-replay-checklist-hero,
  .market-replay-checklist-cards,
  .market-replay-checklist-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 560px) {
  body.market-replay-active .page-layout {
    width: 100vw;
    max-width: 100vw;
    justify-content: stretch;
    padding: 16px 12px 0;
  }

  body.market-replay-active,
  body.market-replay-active .main-wrapper,
  body.market-replay-active .content-column,
  body.market-replay-active .container,
  body.market-replay-active .market-replay-section,
  body.market-replay-active .market-replay-shell,
  body.market-replay-active .market-replay-card {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .market-replay-shell {
    box-sizing: border-box;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    border-radius: 12px;
    padding: 14px;
  }

  .market-replay-title {
    font-size: 30px;
  }

  .market-replay-date-row {
    grid-template-columns: 1fr;
  }

  .market-replay-conclusion strong {
    font-size: 22px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .market-replay-conclusion,
  .market-replay-card-head,
  .market-replay-summary-list li,
  .market-replay-card dl > div,
  .market-replay-rank-grid li,
  .market-replay-icon {
    justify-self: start;
  }

  .market-replay-etf-kpis,
  .market-replay-etf-reading,
  .market-replay-etf-detail-row {
    grid-template-columns: 1fr;
  }

  .market-replay-etf-detail-row b,
  .market-replay-etf-detail-row em,
  .market-replay-etf-detail-row small {
    justify-self: start;
  }

  .market-replay-watch-etf-kpis,
  .market-replay-watch-etf-reading,
  .market-replay-watch-etf-ads,
  .market-replay-watch-etf-detail-row,
  .market-replay-caution-etf-kpis,
  .market-replay-caution-etf-reading,
  .market-replay-caution-etf-ads,
  .market-replay-caution-etf-detail-row,
  .market-replay-watch-stock-kpis,
  .market-replay-watch-stock-reading,
  .market-replay-watch-stock-ads,
  .market-replay-watch-stock-detail-row,
  .market-replay-caution-stock-kpis,
  .market-replay-caution-stock-reading,
  .market-replay-caution-stock-ads,
  .market-replay-caution-stock-detail-row {
    grid-template-columns: 1fr;
  }

  .market-replay-watch-etf-detail-row b,
  .market-replay-watch-etf-detail-row em,
  .market-replay-watch-etf-detail-row small,
  .market-replay-caution-etf-detail-row b,
  .market-replay-caution-etf-detail-row em,
  .market-replay-caution-etf-detail-row small,
  .market-replay-watch-stock-detail-row b,
  .market-replay-watch-stock-detail-row em,
  .market-replay-watch-stock-detail-row small,
  .market-replay-caution-stock-detail-row b,
  .market-replay-caution-stock-detail-row em,
  .market-replay-caution-stock-detail-row small {
    justify-self: start;
  }

  .market-replay-stock-kpis,
  .market-replay-stock-reading,
  .market-replay-stock-detail-row {
    grid-template-columns: 1fr;
  }

  .market-replay-stock-detail-row b,
  .market-replay-stock-detail-row em,
  .market-replay-stock-detail-row small {
    justify-self: start;
  }

  .market-replay-composition-kpis,
  .market-replay-composition-reading,
  .market-replay-composition-detail-row {
    grid-template-columns: 1fr;
  }

  .market-replay-composition-detail-row b,
  .market-replay-composition-detail-row em,
  .market-replay-composition-detail-row small {
    justify-self: start;
  }

  .market-replay-reaction-kpis,
  .market-replay-reaction-reading,
  .market-replay-reaction-detail-row {
    grid-template-columns: 1fr;
  }

  .market-replay-reaction-detail-row b,
  .market-replay-reaction-detail-row em,
  .market-replay-reaction-detail-row small {
    justify-self: start;
  }

  .market-replay-risk-kpis,
  .market-replay-risk-reading,
  .market-replay-risk-ads,
  .market-replay-risk-detail-row {
    grid-template-columns: 1fr;
  }

  .market-replay-risk-detail-row b,
  .market-replay-risk-detail-row em,
  .market-replay-risk-detail-row small {
    justify-self: start;
  }

  .market-replay-theme-kpis,
  .market-replay-theme-reading,
  .market-replay-theme-ads,
  .market-replay-theme-detail-row {
    grid-template-columns: 1fr;
  }

  .market-replay-theme-detail-row b,
  .market-replay-theme-detail-row em,
  .market-replay-theme-detail-row small {
    justify-self: start;
  }

  .market-replay-insight-hero,
  .market-replay-insight-signals,
  .market-replay-insight-ad-grid,
  .market-replay-insight-split,
  .market-replay-insight-steps,
  .market-replay-strategy-hero,
  .market-replay-strategy-steps,
  .market-replay-strategy-split,
  .market-replay-checklist-hero,
  .market-replay-checklist-cards,
  .market-replay-checklist-split {
    grid-template-columns: 1fr;
  }

  .market-replay-insight-hero strong,
  .market-replay-strategy-hero strong,
  .market-replay-checklist-hero strong {
    font-size: 20px;
  }
}

@media (max-width: 1180px) {
  .journal-section .journal-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-section .journal-trade-activity {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .journal-section .page-date span + span {
    padding-left: 0;
    border-left: 0;
  }

  .journal-section .journal-strategy-control,
  .journal-section .journal-filter-card,
  .journal-section .journal-data-card,
  .journal-section .journal-insight-surface {
    padding: 18px;
  }

  .journal-section .journal-strategy-segmented {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journal-section .journal-strategy-chip {
    min-width: 0;
    padding: 0 8px;
  }

  .journal-section .journal-summary-grid {
    grid-template-columns: 1fr;
  }

  .journal-section .journal-summary-grid .utility-stat-card {
    min-height: 112px;
  }

  .journal-section .journal-summary-grid .utility-stat-value {
    font-size: 22px;
  }

  .journal-section .journal-insight-surface .utility-hero-title {
    font-size: 19px;
  }
}

/* ========== 시장 숫자 색상 정책: 상승 빨강, 하락 파랑 ========== */
:where(strong, b, em, span, td, th, text).positive,
.value-positive,
.return-positive,
.change-positive,
.metric-positive,
.metric-box-value.positive,
.ai-core-detail-positive,
.ai-core-metrics b.positive,
.ai-core-item-card.positive .ai-core-item-head em,
.dashboard-section .metric-positive,
.dashboard-section .radar-weight-flow.positive strong,
.dashboard-section .today-core-summary-rows strong.positive,
.credit-trend.up,
.ya-sector-positive,
.ya-sector-modal-kpis strong.positive,
.ya-supply-summary-body strong.positive,
.ya-supply-return-positive,
.ya-supply-value-positive,
.ya-market-signal-positive,
.market-replay-card .positive :where(strong, b, em, span),
.market-replay-insight-balance .positive,
.market-replay-insight-signal.positive strong,
.market-replay-strategy-steps article.positive b,
.market-replay-checklist-cards article.positive b,
.market-replay-conclusion-balance > .positive,
.market-replay-score-factors.positive b,
.market-replay-summary-signal.positive b,
.market-replay-summary-split > .positive,
.market-replay-etf-value.positive,
.market-replay-etf-reading > .positive,
.market-replay-watch-etf-value.positive,
.market-replay-watch-etf-reading > .positive,
.market-replay-watch-etf-detail-row b.positive,
.market-replay-caution-etf-value.positive,
.market-replay-caution-etf-detail-row b.positive,
.market-replay-watch-stock-value.positive,
.market-replay-watch-stock-weight.positive,
.market-replay-watch-stock-reading > .positive,
.market-replay-watch-stock-detail-row b.positive,
.market-replay-caution-stock-value.positive,
.market-replay-caution-stock-weight.positive,
.market-replay-caution-stock-reading > .positive,
.market-replay-caution-stock-detail-row b.positive,
.market-replay-stock-value.positive,
.market-replay-stock-reading > .positive,
.market-replay-composition-delta.positive,
.market-replay-composition-value.positive,
.market-replay-composition-reading > .positive,
.market-replay-reaction-value.positive,
.market-replay-reaction-signal.positive,
.market-replay-reaction-reading > .positive,
.market-replay-risk-return.positive,
.market-replay-risk-value.positive,
.market-replay-risk-detail-row b.positive,
.market-replay-theme-return.positive,
.market-replay-theme-return-label.positive,
.market-replay-theme-reading > .positive,
.market-replay-theme-detail-row b.positive {
  color: var(--market-up-text) !important;
}

:where(strong, b, em, span, td, th, text).negative,
.value-negative,
.return-negative,
.change-negative,
.metric-negative,
.metric-box-value.negative,
.ai-core-detail-negative,
.ai-core-metrics b.negative,
.ai-core-item-card.negative .ai-core-item-head em,
.dashboard-section .metric-negative,
.dashboard-section .radar-weight-flow.negative strong,
.credit-trend.down,
.ya-sector-negative,
.ya-sector-modal-kpis strong.negative,
.ya-supply-summary-body strong.negative,
.ya-supply-return-negative,
.ya-supply-value-negative,
.ya-market-signal-negative,
.market-replay-card .negative :where(strong, b, em, span),
.market-replay-insight-balance .negative,
.market-replay-insight-signal.negative strong,
.market-replay-strategy-steps article.negative b,
.market-replay-checklist-cards article.negative b,
.market-replay-conclusion-balance > .negative,
.market-replay-score-factors.negative b,
.market-replay-summary-signal.negative b,
.market-replay-summary-split > .negative,
.market-replay-etf-value.negative,
.market-replay-etf-reading > .negative,
.market-replay-watch-etf-value.negative,
.market-replay-watch-etf-detail-row b.negative,
.market-replay-caution-etf-value.negative,
.market-replay-caution-etf-detail-row b.negative,
.market-replay-watch-stock-value.negative,
.market-replay-watch-stock-weight.negative,
.market-replay-watch-stock-reading > .negative,
.market-replay-watch-stock-detail-row b.negative,
.market-replay-caution-stock-value.negative,
.market-replay-caution-stock-weight.negative,
.market-replay-caution-stock-reading > .negative,
.market-replay-caution-stock-detail-row b.negative,
.market-replay-stock-value.negative,
.market-replay-stock-reading > .negative,
.market-replay-composition-delta.negative,
.market-replay-composition-value.negative,
.market-replay-composition-reading > .negative,
.market-replay-reaction-value.negative,
.market-replay-reaction-signal.negative,
.market-replay-reaction-reading > .negative,
.market-replay-risk-return.negative,
.market-replay-risk-value.negative,
.market-replay-risk-reading > .negative,
.market-replay-risk-detail-row b.negative,
.market-replay-theme-return.negative,
.market-replay-theme-return-label.negative,
.market-replay-theme-reading > .negative,
.market-replay-theme-detail-row b.negative {
  color: var(--market-down-text) !important;
}
