/* Trip / Atividades e recursos: illustrated resources replace the 24px pictograms.
   The symbols (viewBox 0 0 240 140) read these inherited custom properties:
   --trr-plate (occluder = surface colour), --trr-tire, --trr-detail (0 hides fine lines), --trr-tint,
   --trr-seat-a / --trr-seat-b / --trr-saddle (occupancy painted on the drawing). */
.case-refine.case-trip .trr-catalog{--trr-tire:#10261f}

/* Nav list: same drawing, reduced detail, wide plate instead of a square glyph. */
.case-refine.case-trip .trr-activity-buttons button>svg{width:66px;height:38px;stroke-width:1.05;--trr-plate:#173e31;--trr-detail:0;--trr-tint:.05;transition:transform .35s cubic-bezier(.2,.7,.2,1),color .25s}
.case-refine.case-trip .trr-activity-buttons button[aria-pressed=true]>svg{--trr-plate:#274b3e}
@media(hover:hover){.case-refine.case-trip .trr-activity-buttons button:hover>svg{transform:translateX(3px)}}

/* The title no longer repeats the icon: the plate below carries the drawing. */
.case-refine.case-trip .trr-activity-identity>svg{display:none}

/* Preview plate: blueprint grid, drawing at full column width. */
.case-refine.case-trip .trr-resource-model{background-color:#1b4637;background-image:linear-gradient(#b4c7ac14 1px,transparent 1px),linear-gradient(90deg,#b4c7ac14 1px,transparent 1px);background-size:22px 22px;background-position:center;padding:20px 18px 18px;min-height:0}
.case-refine.case-trip .trr-resource-machine{width:100%!important;max-width:380px;height:auto!important;aspect-ratio:240/140;stroke-width:1.3!important;color:#e9c28a;--trr-plate:#1b4637;--trr-tint:.08}
.case-refine.case-trip .trr-resource-badge{margin-top:10px}

/* Occupancy painted on the resource (colours = the A / B booking chips, pre-blended on the plate). */
.case-refine.case-trip .trr-catalog[data-activity=quadriciclo] .trr-resource-machine{--trr-seat-a:#66734f;--trr-tint:.14}
.case-refine.case-trip .trr-catalog[data-activity=jeep] .trr-resource-machine{--trr-seat-a:#66734f;--trr-seat-b:#436d5f}
.case-refine.case-trip .trr-catalog[data-activity=utv] .trr-resource-machine{--trr-seat-a:#66734f}
.case-refine.case-trip .trr-catalog[data-activity=cavalo] .trr-resource-machine{--trr-saddle:#66734f}

/* Journey slots (light schedule) reuse the quad drawing at low detail. */
.case-refine.case-trip .trr-slot-grid .trr-free-slot>svg,.case-refine.case-trip .trr-slot-grid .trr-empty-record>svg{width:58px;height:34px;stroke-width:1;--trr-plate:#f6f6ed;--trr-tire:#e4e7d8;--trr-detail:0;--trr-tint:0}
.case-refine.case-trip .trr-slot-grid .trr-empty-record>svg{--trr-plate:#fffef8}

@media(max-width:600px){
  .case-refine.case-trip .trr-resource-model{max-width:none;padding:16px 12px 14px}
  .case-refine.case-trip .trr-activity-buttons button>svg{width:60px;height:35px}
  .case-refine.case-trip .trr-slot-grid .trr-free-slot>svg,.case-refine.case-trip .trr-slot-grid .trr-empty-record>svg{width:40px;height:24px}
}
