
.hmt-hub{
    --hmt-accent:#0b57d0;
    --hmt-bg:#f5f7fb;
    --hmt-panel:#ffffff;
    --hmt-border:#d8e0ef;
    --hmt-text:#122033;
    --hmt-muted:#53627a;
    color:var(--hmt-text);
    font-family:Inter,Arial,sans-serif
}
.hmt-hub *{box-sizing:border-box}
.hmt-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.hmt-sidebar,.hmt-main>.hmt-panel,.hmt-footer-note{
    border:1px solid var(--hmt-border);background:var(--hmt-panel);
    border-radius:18px;box-shadow:0 10px 28px rgba(12,28,61,.06)
}
.hmt-sidebar{position:sticky;top:24px;padding:20px}
.hmt-brand{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}
.hmt-brand h2,.hmt-hero h1,.hmt-tool-head h2,.hmt-card h3,.hmt-import-card h3{margin:0 0 8px}
.hmt-brand p,.hmt-hero p,.hmt-tool-head p,.hmt-card p,.hmt-footer-note,.hmt-sidebar-note,.hmt-login-note,.hmt-import-card p{color:var(--hmt-muted)}
.hmt-brand-mark{
    width:48px;height:48px;border-radius:14px;display:grid;place-items:center;
    background:linear-gradient(135deg,var(--hmt-accent),#1a7cff);color:#fff;font-size:24px;flex-shrink:0
}
.hmt-nav{display:grid;gap:8px;margin-bottom:16px}
.hmt-nav-btn{
    appearance:none;border:1px solid var(--hmt-border);background:#fff;color:var(--hmt-text);
    border-radius:12px;padding:12px 14px;text-align:left;cursor:pointer;transition:.2s ease;font-weight:600
}
.hmt-nav-btn:hover,.hmt-nav-btn.is-active{border-color:var(--hmt-accent);background:rgba(11,87,208,.06)}
.hmt-main{display:grid;gap:20px}
.hmt-panel{display:none;padding:24px}
.hmt-panel.is-active{display:block}
.hmt-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}
.hmt-badge{
    display:inline-block;margin-bottom:12px;border:1px solid rgba(11,87,208,.18);background:rgba(11,87,208,.08);
    color:var(--hmt-accent);border-radius:999px;font-size:13px;padding:7px 12px;font-weight:700
}
.hmt-meta{display:flex;gap:8px;flex-wrap:wrap}
.hmt-meta span{border:1px solid var(--hmt-border);border-radius:999px;padding:8px 12px;font-size:13px;color:var(--hmt-muted)}
.hmt-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hmt-card,.hmt-import-card{border:1px solid var(--hmt-border);border-radius:16px;padding:18px;background:linear-gradient(180deg,#fff,#fbfdff)}
.hmt-tool-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}
.hmt-inline-controls label,.hmt-grid label{display:grid;gap:8px;font-weight:600;color:var(--hmt-text)}
.hmt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}
.hmt-grid input,.hmt-grid select,.hmt-inline-controls select,.hmt-textarea-result,.hmt-import-card input[type="file"]{
    width:100%;border:1px solid var(--hmt-border);border-radius:12px;padding:12px 14px;background:#fff;color:var(--hmt-text)
}
.hmt-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.hmt-btn{
    appearance:none;border:none;background:var(--hmt-accent);color:#fff;border-radius:12px;padding:12px 16px;cursor:pointer;font-weight:700
}
.hmt-btn-light{background:#fff;color:var(--hmt-text);border:1px solid var(--hmt-border)}
.hmt-result,.hmt-textarea-result{
    border:1px solid var(--hmt-border);border-radius:14px;background:#f9fbff;padding:16px;min-height:78px;overflow:auto
}
.hmt-score{
    display:inline-block;padding:10px 14px;border-radius:999px;font-weight:800;margin-bottom:14px;
    background:rgba(11,87,208,.08);border:1px solid rgba(11,87,208,.18)
}
.hmt-result ul{margin:0;padding-left:18px}
.hmt-result table{width:100%;border-collapse:collapse}
.hmt-result th,.hmt-result td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--hmt-border);vertical-align:top}
.hmt-chart-canvas{display:block;width:100%;max-width:100%;border:1px solid var(--hmt-border);border-radius:14px;background:#fff;margin-bottom:18px}
.hmt-footer-note{padding:16px 20px}
.hmt-login-note{margin-bottom:12px}
code{background:#eef3ff;padding:2px 6px;border-radius:6px}
@media (max-width:980px){.hmt-shell{grid-template-columns:1fr}.hmt-sidebar{position:static}}
@media (max-width:640px){.hmt-cards,.hmt-grid{grid-template-columns:1fr}.hmt-hero,.hmt-tool-head{flex-direction:column}}
