/* MG Print Portal V13.5 — category-colored premium service cards only. */
:root{
  --v135-blue:#2478e9;--v135-cyan:#1498c6;--v135-green:#0aa86b;--v135-orange:#f07b1f;
  --v135-purple:#7444e8;--v135-pink:#e83e86;--v135-teal:#0b9b91;--v135-indigo:#4f5bd5;
}

/* Authenticated All Services cards. Geometry stays V13.4/API-One; only visual service language is restored. */
html body.v13-api1-exact .mg-color-service-card{
  --svc-tone:var(--v135-blue);--svc-soft:#eef6ff;--svc-border:#bfd9fa;
  background:linear-gradient(145deg,var(--svc-soft),#fff 58%)!important;
  border-color:var(--svc-border)!important;
  box-shadow:0 7px 20px rgba(25,63,96,.07)!important;
}
html body.v13-api1-exact .mg-color-service-card:before{background:var(--svc-tone)!important}
html body.v13-api1-exact .mg-color-service-card .service-icon{background:var(--svc-soft)!important;border-color:var(--svc-border)!important}
html body.v13-api1-exact .mg-color-service-card .small{color:var(--svc-tone)!important}
html body.v13-api1-exact .mg-color-service-card .btn.primary{background:var(--svc-tone)!important;border-color:var(--svc-tone)!important;color:#fff!important}
html body.v13-api1-exact .mg-color-service-card .service-card-foot>b{color:var(--svc-tone)!important}

html body.v13-api1-exact .mg-service-tone-pink{--svc-tone:var(--v135-pink);--svc-soft:#fff0f7;--svc-border:#f3c5da}
html body.v13-api1-exact .mg-service-tone-blue{--svc-tone:var(--v135-blue);--svc-soft:#eef6ff;--svc-border:#bfd9fa}
html body.v13-api1-exact .mg-service-tone-green{--svc-tone:var(--v135-green);--svc-soft:#ecfbf4;--svc-border:#bee9d5}
html body.v13-api1-exact .mg-service-tone-purple{--svc-tone:var(--v135-purple);--svc-soft:#f3efff;--svc-border:#d8ccfb}
html body.v13-api1-exact .mg-service-tone-orange{--svc-tone:var(--v135-orange);--svc-soft:#fff3e8;--svc-border:#f4d0ad}
html body.v13-api1-exact .mg-service-tone-teal{--svc-tone:var(--v135-teal);--svc-soft:#ecfbf9;--svc-border:#bee7e1}
html body.v13-api1-exact .mg-service-tone-cyan{--svc-tone:var(--v135-cyan);--svc-soft:#edfaff;--svc-border:#bfe5f0}
html body.v13-api1-exact .mg-service-tone-indigo{--svc-tone:var(--v135-indigo);--svc-soft:#f0f1ff;--svc-border:#cbd0fa}

/* Public service catalog uses the same MG tone mapping already emitted by PHP. */
html body .v723-catalog-card{--svc-tone:var(--v135-cyan);--svc-soft:#edfaff;--svc-border:#bfe5f0;background:linear-gradient(145deg,var(--svc-soft),#fff 58%)!important;border-color:var(--svc-border)!important;box-shadow:0 7px 20px rgba(25,63,96,.07)!important}
html body .v723-catalog-card:before{background:var(--svc-tone)!important;opacity:.10!important}
html body .v723-catalog-card .v715-live-service-icon{background:var(--svc-soft)!important;border-color:var(--svc-border)!important}
html body .v723-catalog-card>small,html body .v723-catalog-card>div strong{color:var(--svc-tone)!important}
html body .v723-catalog-card>div span{background:var(--svc-tone)!important;color:#fff!important;border-color:transparent!important}
html body .v723-catalog-card.tone-pink{--svc-tone:var(--v135-pink);--svc-soft:#fff0f7;--svc-border:#f3c5da}
html body .v723-catalog-card.tone-blue{--svc-tone:var(--v135-blue);--svc-soft:#eef6ff;--svc-border:#bfd9fa}
html body .v723-catalog-card.tone-green{--svc-tone:var(--v135-green);--svc-soft:#ecfbf4;--svc-border:#bee9d5}
html body .v723-catalog-card.tone-purple{--svc-tone:var(--v135-purple);--svc-soft:#f3efff;--svc-border:#d8ccfb}
html body .v723-catalog-card.tone-orange{--svc-tone:var(--v135-orange);--svc-soft:#fff3e8;--svc-border:#f4d0ad}
html body .v723-catalog-card.tone-teal{--svc-tone:var(--v135-teal);--svc-soft:#ecfbf9;--svc-border:#bee7e1}
html body .v723-catalog-card.tone-cyan{--svc-tone:var(--v135-cyan);--svc-soft:#edfaff;--svc-border:#bfe5f0}

/* Dashboard live cards already use service_tone_class(); reinforce category color without changing dashboard structure. */
html body .v133-restored-dashboard .v715-live-service-card.tone-pink{--v715-tone:var(--v135-pink)!important}
html body .v133-restored-dashboard .v715-live-service-card.tone-blue{--v715-tone:var(--v135-blue)!important}
html body .v133-restored-dashboard .v715-live-service-card.tone-green{--v715-tone:var(--v135-green)!important}
html body .v133-restored-dashboard .v715-live-service-card.tone-purple{--v715-tone:var(--v135-purple)!important}
html body .v133-restored-dashboard .v715-live-service-card.tone-orange{--v715-tone:var(--v135-orange)!important}
html body .v133-restored-dashboard .v715-live-service-card.tone-teal{--v715-tone:var(--v135-teal)!important}
html body .v133-restored-dashboard .v715-live-service-card.tone-cyan{--v715-tone:var(--v135-cyan)!important}

@media(max-width:680px){html body.v13-api1-exact .mg-color-service-card{min-height:148px!important}}
