/* Artwork integration only; retain the existing Home cards and workflow. */
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-subject-icon-box.has-img {
  display:grid;place-items:center;width:56px;height:56px;flex:none;
  padding:4px;box-sizing:border-box;background:none;border:0;border-radius:0;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] :is(.home-subject-img,.home-exam-img) {
  display:block;width:48px;height:48px;max-width:100%;object-fit:contain;
  margin:0;filter:none;transform:none;animation:none;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-exam-icon.has-img {
  display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;
  padding:0;background:none;border:0;border-radius:0;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-exam-item {
  grid-template-columns:48px minmax(0,1fr) auto;column-gap:16px;
}
/* The card already owns its inset; do not add the generic card-header inset. */
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] :is(.home-exams-panel > .home-panel-head,.home-subjects-section > .home-subjects-head) {
  padding:0 0 16px!important;margin:0!important;border:0!important;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-exam-item:last-child {
  border-bottom:0;
}
@media (max-width:600px) {
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-exam-item {
    grid-template-columns:48px minmax(0,1fr);align-items:start;row-gap:12px;
  }
  html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-exam-item > button {
    grid-column:2;justify-self:start;
  }
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-chart-stage:has(.home-chart-state-art) {
  min-height:300px;height:auto;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .chart-empty-box:has(.home-chart-state-art) {
  position:relative;inset:auto;box-sizing:border-box;min-height:300px;
  padding:16px;gap:10px;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-chart-stage:has(.home-chart-state-art) .home-spline-svg {
  display:none;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-chart-state-art {
  display:block;flex:none;width:148px;height:auto;max-width:100%;object-fit:contain;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-art-credit {
  grid-column:1/-1;order:5;min-width:0;margin:0;padding:0 2px;color:var(--mt-muted);
  font:400 11px/18px var(--mt-font);overflow-wrap:anywhere;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-art-credit a {
  color:inherit;text-decoration:underline;text-underline-offset:2px;
}
html body#gradientWorkspace#gradientWorkspace[data-dashboard-style="materio"][data-dashboard-page="home"] .home-art-credit a:hover {
  color:var(--mt-primary);
}
