.chart-box{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid #e3e6eb;border-radius:12px;padding:14px 16px 12px}.chart-box.is-fullscreen{position:fixed;inset:0;z-index:10000;border-radius:0;border:0;padding:16px 20px}.chart-box.is-fullscreen .chart-box-chart-wrap{flex:1;height:auto;min-height:0}.chart-box.is-fullscreen .chart-box-icon-btn .ic-enter{display:none}.chart-box.is-fullscreen .chart-box-icon-btn .ic-exit{display:inline}.chart-box-header{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:12px}.chart-box-title{font-size:16px;font-weight:700;color:#222;width:100%;margin-bottom:2px}.chart-box-compare-btn{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 12px;border:1px solid #d9c6ef;border-radius:8px;background:#f6effd;color:#5b2a86;font-size:13px;font-weight:600;cursor:pointer}.chart-box-compare-btn:hover,.chart-box-compare-btn.open{background:#ecdcfb}.chart-box-compare-btn .chart-box-dots{display:inline-flex}.chart-box-compare-btn .chart-box-dots span{width:14px;height:14px;border-radius:50%;border:2px solid #f6effd;margin-left:-5px}.chart-box-compare-btn .chart-box-dots span:first-child{margin-left:0}.chart-box-compare-btn .chart-box-count{min-width:20px;height:20px;line-height:20px;border-radius:10px;background:#fff;color:#5b2a86;font-size:11px;text-align:center}.chart-box-compare-btn .chart-box-caret{width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-3px 2px 0 2px;transition:transform .15s}.chart-box-compare-btn.open .chart-box-caret{transform:rotate(-135deg);margin-top:3px}.chart-box-time{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:400;color:#666}.chart-box-time select{height:36px;padding:0 10px;border:1px solid #d6dae0;border-radius:8px;background:#fff;color:#222;font-size:13px;cursor:pointer}.chart-box-actions{margin-left:auto}.chart-box-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #d6dae0;border-radius:8px;background:#fff;color:#444;cursor:pointer}.chart-box-icon-btn:hover{background:#f3f4f6}.chart-box-icon-btn .ic-exit{display:none}.chart-box-panel{display:none;position:absolute;z-index:20;top:92px;left:16px;width:280px;max-width:calc(100% - 32px);background:#fff;border:1px solid #e3e6eb;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:14px}.chart-box-panel.open{display:block}.chart-box-panel-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10px}.chart-box-panel-sub{font-size:11px;font-weight:700;letter-spacing:.5px;color:#8a4fc4;text-transform:uppercase}.chart-box-panel-title{font-size:15px;font-weight:700;color:#222}.chart-box-panel-close{border:0;background:none;font-size:20px;line-height:1;color:#888;cursor:pointer;padding:0 2px}.chart-box-option{display:flex;align-items:center;gap:10px;margin:0 0 6px;padding:8px 10px;border:1px solid #eceef1;border-left:3px solid var(--c);border-radius:8px;cursor:pointer;font-size:13px;font-weight:500;color:#333;user-select:none}.chart-box-option:hover{background:#f8f9fb}.chart-box-option input{width:16px;height:16px;margin:0;accent-color:var(--c);cursor:pointer}.chart-box-option .dot{width:10px;height:10px;border-radius:50%;background:var(--c)}.chart-box-chart-wrap{position:relative;height:var(--chart-height,300px)}.chart-box-chart{position:absolute;inset:0}.chart-box-tooltip{display:none;position:absolute;z-index:10;top:8px;min-width:170px;padding:8px 10px;background:rgba(255,255,255,.96);border:1px solid #e3e6eb;border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.12);font-size:12px;color:#333;pointer-events:none}.chart-box-tooltip .tt-date{font-weight:700;margin-bottom:4px}.chart-box-tooltip .tt-row{display:flex;align-items:center;gap:6px;line-height:20px}.chart-box-tooltip .tt-row .dot{width:8px;height:8px;border-radius:50%}.chart-box-tooltip .tt-row b{margin-left:auto;padding-left:12px}.chart-box-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin-top:10px;font-size:12px;color:#444}.chart-box-legend span{display:inline-flex;align-items:center;gap:6px}.chart-box-legend i{width:14px;height:8px;border-radius:2px}.tg-tt-rate{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;margin-top:4px;padding:12px 16px;background:#f3f7fc;border:1px solid #dbe6f3;border-left:4px solid #1c579d;border-radius:10px;color:#333}.tg-tt-rate .tg-tt-label{font-size:15px;font-weight:600}.tg-tt-rate .tg-tt-eq{font-size:15px;color:#888}.tg-tt-rate .tg-tt-value{font-size:22px;font-weight:700;color:#1c579d}.tg-tt-rate .tg-tt-unit{font-size:14px;font-weight:600;color:#1c579d}.tg-tt-rate .tg-tt-date{font-size:13px;font-style:italic;color:#777}.ty-gia-table th{font-weight:700;background:#f7f8fa}.ty-gia-table td,.ty-gia-table th{padding:10px 12px;vertical-align:middle}.ty-gia-table .ty-gia-unit{font-weight:400;color:#555}