/* HiDEAL V41 -- scope only to inner page; respects authenticated theme. */
:root{--hd41-primary:var(--primary,#087e70);--hd41-soft:var(--hd-soft,#ecf8f6)}
/* Dedicated inner header has no AI box: distribute the remaining navigation. */
body.hd03-inner-page header.top .top-inner{justify-content:space-between!important;gap:12px!important}
body.hd03-inner-page header.top .aihead{display:none!important}
/* Outer form area matches the full breadcrumb width. Field groups remain centered. */
#hidealRouteContent:has(.hideal-form-heading-shell){box-sizing:border-box!important;width:100%!important;max-width:100%!important;border:1px solid color-mix(in srgb,var(--hd41-primary) 18%,white)!important;border-radius:12px!important;background:#fff!important;padding:14px!important;margin-inline:auto!important}
#hidealRouteContent:has(.hideal-form-heading-shell)>.container-fluid,
#hidealRouteContent:has(.hideal-form-heading-shell)>#sitewidth{width:100%!important;max-width:100%!important;margin-inline:auto!important}
#hidealRouteContent .hideal-form-heading-shell{max-width:100%!important;width:100%!important;margin-inline:auto!important;float:none!important}
/* The form's 80% width is inside the 100% outer panel; City Edit retains 90%. */
#hidealRouteContent .hideal-form-heading-shell form,
#hidealRouteContent .hideal-form-outer form{width:80%!important;max-width:80%!important;margin-inline:auto!important}
#hidealRouteContent .hideal-cityedit-shell form{width:90%!important;max-width:90%!important;margin-inline:auto!important}
@media(max-width:800px){#hidealRouteContent .hideal-form-heading-shell form,#hidealRouteContent .hideal-form-outer form,#hidealRouteContent .hideal-cityedit-shell form{width:100%!important;max-width:100%!important}}
/* Admin action controls: white readable labels on dark/primary buttons. */
#hidealRouteContent .hideal-nav-btn,#hidealRouteContent .hideal-admin-toolbar-v23 a:not(.back),
#hidealRouteContent #newcheck td button[style*="background"],
#hidealRouteContent #newcheck td a[style*="background"],
#hidealRouteContent #newcheck button:not(.hideal-delete-icon),
#hidealRouteContent #loadMoreBtn{color:#fff!important}
#hidealRouteContent #newcheck td button[style*="background"] *,
#hidealRouteContent #newcheck td a[style*="background"] *{color:inherit!important}
#hidealRouteContent #newcheck td.hideal-delete-col button,
#hidealRouteContent #newcheck td.hideal-delete-col button:hover,
#hidealRouteContent #newcheck td.hideal-delete-col a{
  background:transparent!important;border:0!important;box-shadow:none!important;
  outline:0!important;padding:0!important;min-width:0!important;min-height:0!important;
  width:auto!important;height:auto!important;color:#c62828!important;
}
#hidealRouteContent #newcheck td.hideal-delete-col svg{color:#c62828!important;fill:currentColor!important}
#hidealRouteContent #newcheck td.hideal-delete-col{background:transparent!important}
#hidealRouteContent #newcheck thead th{background:var(--hd41-primary)!important;color:#fff!important}
#hidealRouteContent #newcheck td button[style*="background:#00AAFF"],
#hidealRouteContent #newcheck td button[style*="background: #00AAFF"]{background:var(--hd41-primary)!important}
#hidealRouteContent #loadMoreBtn,
#hidealRouteContent #loadMoreBtn *{background:var(--hd41-primary)!important;color:#fff!important;border-color:var(--hd41-primary)!important}
