/* Numerish Auto360 R86 — unobstructed evidence and commercial sections.
 * Addresses floating Workflow Adviser AI and Guide360 rails (46px/36px) at
 * narrow desktop/tablet sizes without hiding or disabling those tools.
 * Keeps section content in safe gutters and restores balanced typography.
 * Does not affect cards on other product pages, source data or checkout.
 */
body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top {
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  align-items:center;
  column-gap:clamp(20px,2.8vw,44px);
  row-gap:14px;
  margin:0 0 24px;
}
body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top > div,
body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top > p {
  min-width:0;
}
body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top h2#a70-plans-title {
  font-size:clamp(29px,2.55vw,42px);
  line-height:1.15;
  letter-spacing:-.033em;
  text-wrap:balance;
  hyphens:none;
  max-width:25ch;
  margin:0;
}
body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top > p {
  font-size:clamp(13px,1.05vw,15px);
  line-height:1.68;
  margin:0;
  color:var(--a70-muted);
  max-width:60ch;
}
body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-proof-heading {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,auto);
  align-items:end;
  gap:clamp(12px,1.7vw,24px);
  margin:0 0 19px;
}
body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-proof-heading > div {
  min-width:0;
}
body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-proof-heading h2#a75-proof-title {
  max-width:100%;
  font-size:clamp(22px,1.8vw,29px);
  line-height:1.2;
  margin:6px 0 0;
  letter-spacing:-.027em;
  text-wrap:balance;
}
body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-proof-heading > p {
  max-width:43ch;
  font-size:11px;
  line-height:1.55;
  margin:0 0 2px;
  white-space:normal;
  text-align:right;
  color:var(--a70-muted);
}
body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-metric-grid {
  min-width:0;
}
body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-metric-grid > .a75-metric,
body[data-page-key="product-auto360-dms"] .a75-plans-section .a75-plan-grid > .a75-plan-card {
  box-sizing:border-box;
  min-width:0;
}
body[data-page-key="product-auto360-dms"] .a75-plans-section .a75-plan-context {
  min-width:0;
  flex-wrap:wrap;
  gap:9px 20px;
}
body[data-page-key="product-auto360-dms"] .a75-plans-section .a75-plan-context > p {
  max-width:100%;
  overflow-wrap:break-word;
}

/* Reserve true side clearance for site-wide fixed assistance rails.
 * The template's old 30px margin was smaller than the 46px/36px launchers.
 */
@media(min-width:601px){
 body[data-page-key="product-auto360-dms"] .a75-proof-section .a70-wrap,
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-wrap {
  width:min(1600px,calc(100% - 160px));
  max-width:1600px;
  margin-inline:auto;
 }
}
@media(min-width:601px) and (max-width:1100px){
 body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-proof-heading {
  grid-template-columns:minmax(0,1fr);
  gap:7px;
  align-items:start;
 }
 body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-proof-heading > p {
  max-width:100%;
  text-align:left;
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top {
  grid-template-columns:minmax(0,1fr);
  gap:11px;
  align-items:start;
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top h2#a70-plans-title{
  max-width:28ch;
  font-size:clamp(29px,3.2vw,36px);
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top > p {
  max-width:65ch;
  font-size:13px;
  line-height:1.65;
 }
}
@media(max-width:600px){
 body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-proof-heading,
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:10px;
  align-items:start;
 }
 body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-proof-heading > p {
  text-align:left;
  max-width:100%;
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top h2#a70-plans-title {
  font-size:clamp(26px,6.9vw,34px);
  line-height:1.17;
  max-width:25ch;
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a70-section-top > p {
  max-width:100%;
  font-size:13px;
  line-height:1.63;
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a75-plan-context {
  gap:6px;
 }
}
/* Compact card gaps for the exact breakpoint where the reserved gutters shrink cards. */
@media(min-width:601px) and (max-width:920px){
 body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-metric-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
 }
 body[data-page-key="product-auto360-dms"] .a75-proof-section .a75-metric-grid > .a75-metric {
  padding:clamp(15px,1.8vw,19px);
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a75-plan-grid {
  gap:11px;
 }
}
@media(prefers-reduced-motion:reduce){
 body[data-page-key="product-auto360-dms"] :is(.a75-proof-section,.a75-plans-section) * {
  scroll-behavior:auto;
 }
}

/* Tablet bridge: the global Workflow Adviser launcher is a ~160px bottom
 * pill at 601–760px, wider than the protected content gutter. Preserve the
 * launcher as a visible 46px edge control, with its name screen-reader-visible.
 * Guide360 stays separately available. No event handlers are changed.
 */
@media(min-width:601px) and (max-width:760px){
 body[data-page-key="product-auto360-dms"] .ns-workflow-side-cta{
  box-sizing:border-box;
  position:fixed!important;
  top:56%!important;
  bottom:auto!important;
  left:0!important;
  right:auto!important;
  width:46px!important;
  max-width:46px!important;
  min-width:46px!important;
  height:54px!important;
  min-height:54px!important;
  padding:8px!important;
  border-radius:0 12px 12px 0!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
  gap:0!important;
  transform:translateY(-50%)!important;
 }
 body[data-page-key="product-auto360-dms"] .ns-workflow-side-cta span{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  clip-path:inset(50%)!important;
 }
 body[data-page-key="product-auto360-dms"] .ns-workflow-side-cta b{
  flex:0 0 25px;
  width:25px;
  height:25px;
 }
}

/* Readable specialist enterprise packages on tablets.
 * Avoid a single orphan quotation card in a three-column partial row.
 */
@media(min-width:821px) and (max-width:1160px){
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a82-specialist-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a82-specialist-grid > .a82-industry-plan:last-child{
  grid-column:1 / -1;
 }
}
@media(min-width:601px) and (max-width:820px){
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a82-specialist-grid{
  grid-template-columns:minmax(0,1fr);
  gap:11px;
 }
 body[data-page-key="product-auto360-dms"] .a75-plans-section .a82-specialist-grid > .a82-industry-plan:last-child{
  grid-column:auto;
 }
}
