@font-face { font-family: 'Roboto'; src: url('../fonts/Roboto-VariableFont_wdth_wght.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.45 'Roboto', system-ui, sans-serif; color: #202124; background: #e9ebee; -webkit-font-smoothing: antialiased; }
.mg { width: 1920px; height: 1250px; overflow: hidden; margin: 0 auto; background: #fff; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
svg { flex: none; }
.fx { display: flex; align-items: center; }
.sp { flex: 1; }
/* ---- sidebar ---- */
.mg-side { border-right: 1px solid #eceef1; display: flex; flex-direction: column; padding: 14px 12px 16px; overflow: hidden; }
.mg-logo { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 14px; }
.mg-logo .wm { font-size: 19px; font-weight: 800; color: #25477B; letter-spacing: .2px; }
.mg-logo .wm span { color: #1f63e1; font-weight: 500; }
.mg-logo .wm sup { font-size: 8px; font-weight: 400; color: #5f6368; }
.mg-collapse { width: 30px; height: 30px; border-radius: 50%; background: #1f63e1; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; padding-bottom: 2px; }
.mg-search { display: flex; align-items: center; gap: 9px; border: 1px solid #dde1e6; border-radius: 6px; padding: 8px 10px; color: #80868b; font-size: 13px; margin: 0 2px 12px; }
.mg-search svg { width: 15px; height: 15px; }
.mg-search .kbd { margin-left: auto; font-size: 11px; color: #9aa0a6; }
.mg-dashassets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 2px 8px; }
.mg-tbtn { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #dde1e6; border-radius: 7px; padding: 7px 6px; font-size: 13px; font-weight: 500; color: #3c4043; background: #fff; white-space: nowrap; }
.mg-tbtn svg { width: 15px; height: 15px; color: #5f6368; }
.mg-tbtn.on { background: #e8f0fe; border-color: #e8f0fe; color: #174ea6; }
.mg-tbtn.on svg { color: #174ea6; }
.mg-mapbtn { display: flex; margin: 0 2px; }
.mg-nav { margin-top: 16px; display: flex; flex-direction: column; gap: 1px; flex: 1; min-height: 0; }
.mg-div { border-top: 1px solid #eceef1; margin: 8px 4px; }
.mg-ni { display: flex; align-items: center; gap: 11px; padding: 6px 8px; border-radius: 9px; font-size: 14px; color: #3c4043; font-weight: 500; }
.mg-ni .ico { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; }
.mg-ni .ico svg { width: 19px; height: 19px; color: #5f6368; }
.mg-ni .ico.mk { font-style: italic; font-weight: 800; color: #5f6368; font-size: 15px; }
.mg-ni .pm { margin-left: auto; display: grid; place-items: center; }
.mg-ni .pm svg { width: 16px; height: 16px; color: #5f6368; }
.mg-ni.on { background: #e8f0fe; color: #174ea6; }
.mg-ni.on .ico { background: #1f63e1; }
.mg-ni.on .ico svg { color: #fff; }
.mg-sub { margin: 3px 0 8px 16px; display: flex; flex-direction: column; border-left: 2px solid #eceef1; padding-left: 0; }
.mg-si { display: flex; align-items: center; padding: 7px 8px 7px 10px; font-size: 13.5px; color: #3c4043; border-radius: 0 7px 7px 0; white-space: nowrap; }
.mg-si.on { color: #1a5cd8; font-weight: 600; margin-left: -2px; border-left: 2px solid #1a5cd8; }
.mg-si .cv, .mg-si .mg-badge { margin-left: auto; }
.mg-si .cv svg { width: 15px; height: 15px; color: #5f6368; }
.mg-badge { background: #1f63e1; color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.mg-bot { margin-top: auto; border-top: 1px solid #eceef1; padding-top: 8px; }
/* ---- main / strip ---- */
.mg-main { display: flex; flex-direction: column; min-width: 0; }
.mg-strip { display: flex; align-items: center; gap: 16px; padding: 12px 26px 4px; min-height: 52px; }
.mg-gsel { display: flex; align-items: center; gap: 30px; border: 1px solid #dde1e6; border-radius: 6px; padding: 8px 10px; font-size: 13px; color: #3c4043; min-width: 175px; justify-content: space-between; }
.mg-gsel svg { width: 15px; height: 15px; color: #5f6368; }
.gcap { font-size: 13.5px; color: #202124; }
.mg-icx { margin-left: auto; display: flex; align-items: center; gap: 22px; color: #444746; }
.mg-icx svg { width: 20px; height: 20px; }
.mg-icx .bell { position: relative; display: grid; place-items: center; }
.mg-icx .bell::after { content: ""; position: absolute; top: -2px; right: -1px; width: 8px; height: 8px; border-radius: 50%; background: #d93025; border: 1.5px solid #fff; }
.mg-avic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.mg-avic svg { width: 22px; height: 22px; }
.mg-page { padding: 4px 26px 40px; flex: 1; min-width: 0; position: relative; }
.mg-h1row { display: flex; align-items: center; gap: 14px; margin: 12px 0 14px; }
.mg-h1 { font-size: 28px; font-weight: 400; color: #202124; letter-spacing: .1px; }
.mg-bkm svg { width: 18px; height: 18px; color: #5f6368; display: block; }
/* ---- buttons / inputs ---- */
.mgb { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dde1e6; background: #fff; color: #3c4043; font: 500 13.5px 'Roboto', sans-serif; border-radius: 7px; padding: 8px 14px; white-space: nowrap; }
.mgb svg { width: 16px; height: 16px; color: #5f6368; }
.mgb--pri { background: #1f63e1; border-color: #1f63e1; color: #fff; }
.mgb--pri svg { color: #fff; }
.mgb--txt { border-color: transparent; }
.mg-input { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #dde1e6; border-radius: 6px; padding: 8px 12px; font-size: 13px; color: #80868b; min-width: 170px; }
.mg-input svg { width: 15px; height: 15px; }
.mg-sel { display: inline-flex; align-items: center; gap: 26px; justify-content: space-between; border: 1px solid #dde1e6; border-radius: 6px; padding: 8px 10px; font-size: 13px; color: #3c4043; min-width: 120px; }
.mg-sel svg { width: 15px; height: 15px; color: #5f6368; }
.mg-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.mg-tabs { display: flex; gap: 28px; border-bottom: 1px solid #eceef1; margin: 2px 0 18px; }
.mg-tab { padding: 9px 2px 10px; font-size: 14px; font-weight: 500; color: #5f6368; border-bottom: 3px solid transparent; }
.mg-tab.on { color: #1a5cd8; border-color: #1a5cd8; }
/* ---- stat cards ---- */
.mg-stats { display: flex; gap: 18px; margin: 6px 0 24px; }
.mg-stat { border: 1px solid #dde1e6; border-radius: 10px; padding: 12px 16px 12px; min-width: 168px; }
.mg-stat .t { display: flex; align-items: center; gap: 28px; justify-content: space-between; font-size: 14.5px; font-weight: 500; color: #202124; }
.mg-stat .t svg { width: 15px; height: 15px; color: #5f6368; }
.mg-stat .v { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.mg-stat .v svg { width: 20px; height: 20px; color: #444746; }
.mg-stat .num { font-weight: 700; font-size: 15px; line-height: 1.2; }
.mg-stat .lab { font-size: 12px; color: #5f6368; display: block; font-weight: 400; }
/* ---- table ---- */
.mg-showing { display: flex; align-items: center; gap: 16px; justify-content: flex-end; font-size: 13px; color: #3c4043; margin: 4px 0 10px; }
.mg-showing svg { width: 17px; height: 17px; color: #444746; }
.mgt { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mgt th { font-size: 12.5px; font-weight: 500; color: #5f6368; text-align: left; padding: 13px 14px; border: 1px solid #eef1f4; background: #fff; white-space: nowrap; }
.mgt th svg { width: 14px; height: 14px; vertical-align: -3px; color: #5f6368; }
.mgt td { padding: 12px 14px; border: 1px solid #eef1f4; vertical-align: middle; }
.mgt .lnk { color: #1a5cd8; font-weight: 500; }
.mgt .sub { font-size: 12px; color: #5f6368; margin-top: 2px; display: block; font-weight: 400; }
.mgt .num { text-align: right; font-variant-numeric: tabular-nums; }
.mgt .mut { color: #5f6368; }
.mg-kebab svg { width: 17px; height: 17px; color: #5f6368; display: block; margin: 0 auto; }
.mg-cb { width: 16px; height: 16px; border: 2px solid #9aa0a6; border-radius: 3px; display: inline-block; vertical-align: middle; }
.mgav { width: 30px; height: 30px; border-radius: 50%; background: #64788c; color: #fff; display: grid; place-items: center; }
.mgav svg { width: 15px; height: 15px; }
.mg-lav { width: 30px; height: 30px; border-radius: 50%; background: #3b6cd4; color: #fff; font-size: 13px; font-weight: 500; display: grid; place-items: center; }
.mg-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dde1e6; border-radius: 999px; padding: 4px 9px; font-size: 12px; color: #3c4043; }
.mg-chip svg { width: 14px; height: 14px; }
.mg-chip.red svg { color: #c5221f; }
/* ---- misc components ---- */
.mg-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 46px 0 40px; text-align: center; }
.mg-empty b { font-size: 15px; font-weight: 700; margin-top: 10px; }
.mg-empty i { font-size: 13px; color: #5f6368; }
.mg-onoff { display: inline-flex; border: 1px solid #dde1e6; border-radius: 8px; overflow: hidden; font-size: 13px; font-weight: 600; flex: none; align-self: flex-start; }
.mg-onoff span { padding: 6px 14px; color: #3c4043; background: #fff; }
.mg-onoff span.act { background: #1f63e1; color: #fff; }
.mg-menu { position: absolute; background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(60,64,67,.24), 0 4px 14px rgba(60,64,67,.24); padding: 6px 0; font-size: 13.5px; min-width: 210px; z-index: 30; }
.mg-mi { padding: 10px 18px; display: flex; gap: 10px; align-items: center; color: #202124; }
.mg-mi svg { width: 15px; height: 15px; color: #5f6368; }
.mg-mi.hov { background: #eef1f5; }
.mg-mi.hd { font-size: 12.5px; color: #5f6368; padding-bottom: 6px; }
.mg-banner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; background: #e8f0fe; padding: 18px 26px; font-size: 14px; color: #202124; position: relative; }
.mg-banner b { font-weight: 700; }
.mg-banner .x { position: absolute; right: 20px; top: 16px; }
.mg-banner .x svg { width: 17px; height: 17px; color: #444746; }
/* ---- dashboard tiles ---- */
.mg-tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; margin-top: 8px; }
.mg-tile { border: 1px solid #e4e7eb; border-radius: 10px; background: #fff; padding: 16px 18px; box-shadow: 0 1px 2px rgba(60,64,67,.08); }
.mg-tile .tt { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: #202124; }
.mg-tile .tt svg { width: 14px; height: 14px; color: #5f6368; }
.mg-tile .td { font-size: 12px; color: #5f6368; margin-top: 3px; }
.chart-x { fill: #5f6368; font-size: 10px; font-family: 'Roboto', sans-serif; }
.chart-y { fill: #5f6368; font-size: 10px; font-family: 'Roboto', sans-serif; }
.chart-grid { stroke: #eceef1; stroke-width: 1; }
.chart-tt { fill: #202124; font-size: 15px; font-weight: 500; font-family: 'Roboto', sans-serif; }
.chart-lbl { fill: #3c4043; font-size: 9.5px; font-family: 'Roboto', sans-serif; }
