.hist-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:12px}.hist-head h2{margin:0 0 4px}.hist-head p{margin:0;color:var(--muted);max-width:850px}.hist-actions{display:flex;gap:8px}.hist-actions button:last-child{background:#111827}.hist-filter{display:grid;grid-template-columns:1fr 1.2fr 1fr 1fr 1fr auto;gap:8px;background:#fff;padding:12px;border:1px solid var(--line);border-radius:12px}.hist-filter label{margin:0}.hist-filter button{align-self:end}.hist-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:12px 0}.hist-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px}.hist-card b{display:block;font-size:23px}.hist-card span{font-size:12px;color:var(--muted)}.hist-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:12px}.hist-panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;min-height:260px}.hist-panel h3{margin:0}.hist-panel p{margin:2px 0 12px;color:var(--muted);font-size:12px}.hist-bars{height:205px;display:flex;align-items:end;gap:7px;overflow-x:auto;padding:10px 2px 0}.hist-month{min-width:48px;height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center}.hist-month b{font-size:11px;margin-bottom:4px}.hist-month i{display:block;width:28px;min-height:2px;background:#2563eb;border-radius:5px 5px 0 0}.hist-month small{font-size:10px;margin-top:4px;color:var(--muted)}.hist-category{display:grid;grid-template-columns:minmax(120px,1fr) 3fr 40px;gap:8px;align-items:center;margin:8px 0;font-size:12px}.hist-category div{height:9px;background:#e5e7eb;border-radius:999px;overflow:hidden}.hist-category i{display:block;height:100%;background:var(--red);border-radius:999px}.hist-category b{text-align:right}.hist-note{margin:10px 0;padding:10px 12px;border-left:4px solid #2563eb;background:#eff6ff;color:#1e3a8a;border-radius:8px}.hist-move.pos{color:#166534;font-weight:900}.hist-move.neg{color:#991b1b;font-weight:900}.hist-editor{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;margin:12px 0}.hist-editor-head{display:flex;justify-content:space-between;align-items:center}.hist-editor-head h3{margin:0}.hist-editor-head button{background:#e5e7eb;color:#111}.hist-form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.hist-form-grid label{margin:5px 0}.hist-save-line{display:flex;align-items:center;gap:12px;margin-top:8px}.hist-save-line small{color:var(--muted)}.module-map{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.module-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.module-card h3{margin:0 0 4px}.module-card p{color:var(--muted);min-height:42px}.module-card .status{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:800}.module-card .status.live{background:#dcfce7;color:#166534}.module-card .status.next{background:#fef3c7;color:#92400e}.module-card button{margin-top:12px;background:#111827}.module-card button:disabled{background:#d1d5db;color:#6b7280}.integration-banner{background:#111827;color:#fff;border-radius:14px;padding:18px;margin-bottom:12px}.integration-banner h2{margin:0}.integration-banner p{margin:5px 0 0;color:#d1d5db}
@media(max-width:1100px){.hist-filter{grid-template-columns:repeat(3,1fr)}.hist-cards{grid-template-columns:repeat(3,1fr)}.hist-grid{grid-template-columns:1fr}.module-map{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.hist-head{display:block}.hist-actions{margin-top:10px}.hist-filter,.hist-form-grid{grid-template-columns:1fr}.hist-cards{grid-template-columns:repeat(2,1fr)}.module-map{grid-template-columns:1fr}}
