.mh-pro-wrapper { margin: 25px 0; color: #1a1a1a; }
.mh-toolbar { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; border-bottom: 2px solid #f0f0f0; padding-bottom: 15px; flex-wrap: wrap; gap: 15px; }
.mh-toolbar-left { width: auto; max-width: 100%; }
.mh-range-nav-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 5px; }
.mh-range-nav { display: flex; gap: 8px; white-space: nowrap; }
.mh-tab-btn { background: #fff; border: 1px solid #ddd; padding: 8px 16px; cursor: pointer; font-weight: 600; color: #555; border-radius: 6px; transition: 0.2s; font-size: 13px; }
.mh-tab-btn.active { background: #0073aa; color: #fff; border-color: #0073aa; }
.mh-status-bar { font-size: 13px; color: #666; text-align: right; flex-grow: 1; }
.mh-reset-btn { background: #ff3b30; color: #fff; border: none; padding: 4px 10px; border-radius: 4px; cursor: pointer; margin-left: 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.mh-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; margin-bottom: 30px; }
.mh-stat-card { background: #fff; border: 1px solid #e1e4e8; padding: 18px; border-radius: 12px; box-shadow: 0 2px 4px rgba(0,0,0,0.02); text-align: center; transition: 0.3s; }
.mh-stat-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.mh-stat-label { display: block; font-size: 11px; color: #888; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.mh-stat-val { font-size: 16px; font-weight: 800; display: block; }
.mh-stat-pct { font-size: 12px; font-weight: 600; margin-top: 6px; display: inline-block; padding: 2px 10px; border-radius: 20px; }
.mh-up { color: #00c805; } .mh-up-bg { background: #e6ffed; color: #00c805; }
.mh-down { color: #ff3b30; } .mh-down-bg { background: #fff0f0; color: #ff3b30; }
.mh-table-container { background: #fff; border: 1px solid #e1e4e8; border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.mh-main-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 650px; }
.mh-main-table th { background: #f8f9fa; padding: 15px; text-align: left; font-weight: 700; border-bottom: 2px solid #eee; cursor: pointer; white-space: nowrap; }
.mh-main-table td { padding: 15px; border-bottom: 1px solid #f6f8fa; white-space: nowrap; }
@media (max-width: 600px) {
.mh-toolbar { flex-direction: column; align-items: flex-start; }
.mh-status-bar { text-align: left; margin-top: -5px; }
.mh-card-grid { grid-template-columns: repeat(2, 1fr); }
.mh-stat-card { padding: 12px; }
.mh-stat-val { font-size: 14px; }
}
.mh-sort-icon::after { content: ' ↕'; font-size: 10px; color: #bbb; margin-left: 5px; }
.mh-sort-icon.asc::after { content: ' ↑'; color: #0073aa; }
.mh-sort-icon.desc::after { content: ' ↓'; color: #0073aa; }
.mh-skeleton-loader { padding: 40px; text-align: center; color: #999; } .mq-container { width: 100%; margin: 20px auto; padding: 20px; background: #f9f9f9; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); box-sizing: border-box; }
.mq-header { color: #0073aa; margin-bottom: 20px; }
.mq-layout { display: flex; flex-direction: column; gap: 20px; } 
.mq-chart-col { width: 100%; display: flex; flex-direction: column; }
.mq-chart-wrap { position: relative; background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 15px; min-height: 450px; display: flex; flex-direction: column; width: 100%; box-sizing: border-box; overflow: hidden; }
.mq-controls { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; z-index: 5; }
.mq-btn-group { display: flex; gap: 5px; }
.mq-btn { padding: 6px 12px; font-size: 13px; cursor: pointer; border: 1px solid #ccc; background: #f0f0f1; color: #333; border-radius: 4px; font-weight: 500; }
.mq-btn.active { background: #0073aa; color: #fff; border-color: #0073aa; }
.mq-chart-wrap:fullscreen { width: 100vw; height: 100vh; background: #fff; padding: 20px; }
.mq-loader { display:none; position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); color:#666; font-size: 16px; font-weight:bold; }
.mq-apex-chart { width:100%; height:100%; flex-grow:1; min-height:350px; }
.mq-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; align-content: start; }
.mq-box { background: #fff; padding: 12px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border: 1px solid #eee; }
.mq-box-summary { background: #e6ffff; padding: 12px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: flex; flex-direction: column; justify-content: center; text-align: left; border: 1px solid #eee; }
.mq-price-box { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-around; }
.mq-green { color: #28a745; } .mq-red { color: #dc3545; }
.mq-arrow { font-size: 24px; } .mq-main-price { font-size: 24px; font-weight: bold; }
.mq-label { font-size: 11px; color: #666; margin-bottom: 4px; text-transform:uppercase; letter-spacing:0.5px; }
.mq-val { font-size: 15px; font-weight: bold; color: #333; }
.mq-sub-date { font-size: 11px; color: #888; margin-top: 2px; }
.mq-range-sel { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.mq-range-btn { padding: 6px 10px; cursor: pointer; border: 1px solid #0073aa; background: #fff; color: #0073aa; border-radius: 4px; font-size: 12px; font-weight: 500; flex: 1 1 auto; text-align: center; }
.mq-range-btn.active { background: #0073aa; color: #fff; }
@media (max-width: 768px) {
.mq-price-box { grid-column: span 1; flex-direction: column; gap: 5px; }
.mq-chart-wrap { min-height: 350px; }
} .mq-tech-wrapper { background:#fff; border:1px solid #e1e4e8; border-radius:10px; padding:20px; max-width:1100px; margin:20px auto; }
.mq-tech-header { display:flex; justify-content:space-between; align-items:flex-start; border-bottom:4px solid #e68a00; padding-bottom:15px; margin-bottom:15px; flex-wrap:wrap; gap:15px; }
.mq-sym-title { margin:0; font-size:20px; color:#333; font-weight:700; }
.mq-big-price { font-size:24px; font-weight:800; color:#333; }
.mq-price-chg { font-size:14px; font-weight:600; margin-left:10px; }
.mq-tf-list { display:flex; gap:5px; overflow-x:auto; padding-bottom:5px; }
.mq-tf-btn { border:1px solid #ddd; background:#f8f9fa; font-size:12px; font-weight:600; color:#555; cursor:pointer; padding:6px 12px; border-radius:4px; transition:0.2s; white-space:nowrap; }
.mq-tf-btn.active { background:#0073aa; color:#fff; border-color:#0073aa; }
.mq-nav-tabs { display:flex; border-bottom:4px solid #248f24; margin-bottom:20px; gap:25px; }
.mq-nav-btn { background:none; border:none; border-bottom:2px solid transparent; padding:10px 5px; font-weight:700; color:#666; cursor:pointer; font-size:14px; text-transform:uppercase; transition:0.2s; }
.mq-nav-btn:hover { color:#0073aa; }
.mq-nav-btn.active { border-color:#0073aa; color:#ffffff; background:#000000;  }
.mq-visual-row { display:flex; gap:20px; margin-bottom:25px; flex-wrap:wrap; }
.mq-chart-card { flex:2; min-width:320px; border:1px solid #eee; border-radius:8px; padding:15px; background:#fff; }
.mq-grid-tables { display:grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); gap:20px; margin-bottom:20px; }
.mq-table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; display: block; }
.mq-table-card { border:1px solid #eee; border-radius:8px; overflow:hidden; background:#fff; }
.mq-card-title { margin:0; padding:12px 15px; background:#f8f9fa; border-bottom:1px solid #eee; font-size:14px; font-weight:700; color:#444; text-transform:uppercase; }
.mq-data-table, .mq-pivot-table { width:100%; border-collapse:collapse; font-size:13px; }
.mq-data-table th, .mq-pivot-table th { background:#fcfcfc; color:#666; font-weight:600; padding:8px 12px; text-align:left; border-bottom:1px solid #eee; }
.mq-data-table td, .mq-pivot-table td { padding:8px 12px; border-bottom:1px solid #f6f6f6; color:#333; }
.mq-data-table td:nth-child(2), .mq-data-table td:nth-child(3) { text-align:right; }
.mq-pivot-table td, .mq-pivot-table th { text-align:center; }
.mq-pivot-table tr:nth-child(odd) { background:#fafafa; }
.mq-badge { padding:2px 8px; border-radius:12px; font-size:11px; font-weight:700; color:#fff; display:inline-block; }
.b-bull { background:#28a745; } .b-bear { background:#dc3545; } .b-neu { background:#ffc107; color:#333 !important; }
.mq-summary-card { background:#e8f4fa; border-left:4px solid #0073aa; padding:15px; border-radius:4px; margin-bottom:20px; }
.mq-summary-text { font-size:14px; line-height:1.5; color:#444; }
.mq-swot-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:15px; padding:15px; }
.mq-swot-box { padding:15px; border-radius:6px; border:1px solid #eee; background:#fafafa; }
.mq-swot-box h5 { margin:0 0 10px 0; font-size:13px; font-weight:800; }
.mq-swot-box ul { margin:0; padding-left:15px; font-size:12px; color:#555; line-height:1.4; }
.swot-s { border-top:3px solid #28a745; } .swot-s h5 { color:#28a745; }
.swot-w { border-top:3px solid #dc3545; } .swot-w h5 { color:#dc3545; }
.swot-o { border-top:3px solid #0073aa; } .swot-o h5 { color:#0073aa; }
.swot-t { border-top:3px solid #ff9800; } .swot-t h5 { color:#ff9800; } .mq-raw-data-section { background: #fff; padding: 0; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin-top: 30px; overflow:hidden;}
.mq-raw-header-bar { background: #0073aa; color: white; padding: 12px 20px; font-weight: 700; font-size: 16px; text-align: center; }
.mq-range-controls { padding: 15px; display: flex; gap: 10px; flex-wrap: wrap; background: #f8f9fa; border-bottom: 1px solid #ddd; justify-content: flex-end; }
.mq-range-btn { padding: 4px 10px; border: 1px solid #ccc; background: #fff; cursor: pointer; border-radius: 3px; font-size: 12px; font-weight:600; transition: all 0.2s; }
.mq-range-btn.active { background: #0073aa; color: white; border-color: #0073aa; }
.mq-raw-table { width: 100%; border-collapse: collapse; font-size: 13px; font-family: Arial, sans-serif; }
.mq-raw-table th { background: #f8f9fa; font-weight: 700; color: #333; padding: 12px 8px; border-bottom: 2px solid #ddd; cursor: pointer; user-select: none; white-space: nowrap; }
.mq-raw-table th:hover { background: #e2e6ea; }
.mq-raw-table td { padding: 10px 8px; border-bottom: 1px solid #eee; text-align: center; white-space: nowrap; }
.mq-raw-table th:first-child, .mq-raw-table td:first-child { text-align: left; position: sticky; left: 0; background: inherit; z-index: 2; border-right: 1px solid #ddd; font-weight: 600; }
.mq-raw-table th:first-child { background: #f8f9fa; z-index: 3;}
.mq-raw-table tbody tr:nth-child(even) td { background-color: #fafafa; }
.mq-raw-table tbody tr:nth-child(odd) td { background-color: #ffffff; }
.mq-raw-table tbody tr:hover td { background-color: #f1f5f9; }
.sort-icon::after { content: " ↕"; font-size: 10px; color: #999; margin-left: 4px; }
.sort-icon.asc::after { content: " ↑"; color: #0073aa; }
.sort-icon.desc::after { content: " ↓"; color: #0073aa; }
.mq-ma-col { border-right: 2px solid #ddd; }  @media (max-width: 768px) {
.mq-tech-wrapper { padding: 12px; margin: 10px auto; border-radius: 6px; box-sizing: border-box; }
.mq-grid-tables { display: flex; flex-direction: column; }
.mq-sym-title { font-size: 18px; }
.mq-big-price { font-size: 20px; }
.mq-data-table th, .mq-data-table td, .mq-pivot-table th, .mq-pivot-table td { font-size: 12px; padding: 8px 6px; }
.mq-swot-grid { grid-template-columns: 1fr; }
.mq-tf-list, .mq-nav-tabs { max-width: 100%; -webkit-overflow-scrolling: touch; }
}