:root{ --accent:#0b5ea8; --muted:#374151; --bg:#fff; --gap:12px; --card:#fbfdff; }
.hsbc-root{ max-width:1100px; margin:18px auto; padding:18px; font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial; color:#0b1220; background:var(--bg); }
.hsbc-header h1{ font-size:26px; margin:0 0 6px; color:var(--accent); }
.hsbc-sub{ color:var(--muted); margin:0 0 12px; font-size:15px; }

.hsbc-tools{ display:flex; flex-direction:column; gap:14px; }
.hsbc-topbar{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.hsbc-topbar label{ font-weight:600; font-size:14px; }
.hsbc-topbar select{ padding:8px; border-radius:6px; border:1px solid #e6eef9; font-size:14px; }

.hsbc-tabs{ display:flex; gap:8px; flex-wrap:wrap; }
.hsbc-tab{ background:#eef6fc; border:none; padding:8px 12px; border-radius:8px; cursor:pointer; font-weight:600; color:var(--accent); }

.hsbc-panels{ display:flex; flex-direction:column; gap:14px; }
.hsbc-panel{ display:flex; gap:14px; flex-direction:column; }
@media(min-width:900px){ .hsbc-panel{ flex-direction:row; } }
.hsbc-controls{ flex:1; background:var(--card); padding:14px; border-radius:10px; box-shadow:0 6px 18px rgba(2,6,23,0.04); }
.hsbc-controls label{ display:block; margin-top:8px; font-weight:600; font-size:15px; }
.hsbc-controls input, .hsbc-controls select{ width:100%; padding:10px; margin-top:6px; border-radius:8px; border:1px solid #e6eef9; font-size:16px; }
.hsbc-actions{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }
.hsbc-btn{ background:var(--accent); color:#fff; padding:10px 12px; border-radius:8px; border:none; cursor:pointer; font-size:15px; }

.hsbc-results{ width:100%; background:linear-gradient(180deg, rgba(240,248,255,0.6), rgba(255,255,255,0.4)); padding:14px; border-radius:10px; box-shadow:0 6px 18px rgba(2,6,23,0.04); }
@media(min-width:900px){ .hsbc-results{ width:380px; } }
.hsbc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; font-size:15px; margin-bottom:4px; }
@media(max-width:900px){ .hsbc-grid{ grid-template-columns:1fr; } .hsbc-controls{ order:1 } .hsbc-results{ order:2 } }