/* proto-pages-lines.css: a line page's own rules (templates/search/tuners.html) over proto-pages.css: the engine tabs
   in Edge's black and red, the line sections and the head of the backordered rest. Colour and type are cl-site.css's
   --site-* tokens. */
@layer base, kit, site;

@layer site {

.pp-line__engines { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.pp-line__engine { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 72px; padding: 12px 16px; background: var(--site-card); color: var(--site-fg); border-left: 5px solid var(--site-accent); }
.pp-line__engine:hover { background: var(--site-fg); color: var(--site-bg); }
.pp-line__engine.is-on { background: var(--site-fg); color: var(--site-bg); }
.pp-line__engine.is-mine { box-shadow: inset 0 0 0 2px var(--site-fg); }
.pp-line__engine-name { font: 700 24px/1.1 var(--site-font-heading); text-transform: uppercase; }

.pp-section + .pp-line__engines { margin-top: 48px; }
.pp-line__group .pp-note { margin-top: 12px; }
.pp-line__group .pp-note + .pp-grid { margin-top: 16px; }
.pp-line__later { margin-top: 72px; }
.pp-line__later > .pp-shead { margin-top: 0; border-bottom-width: 4px; }
.pp-line__later .pp-line__group .pp-shead { margin-top: 32px; border-bottom-width: 1px; }

@media (max-width: 600px) {
  .pp-line__engines { gap: 8px; margin-top: 16px; }
  .pp-line__later { margin-top: 48px; }
  .pp-line__engine { min-height: 48px; padding: 8px 10px; border-left-width: 4px; }
  .pp-line__engine-name { font-size: 16px; }
}

}
