.route-heading { margin-bottom: clamp(15px,2vw,28px); }
.route-workbench { color: #f2ede3; }
.route-views {
  display: flex; width: fit-content; max-width: 100%; margin: 0 0 14px;
  padding: 4px; border: 1px solid #50453d; border-radius: 9px; background: #201f1e;
}
.route-views button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px clamp(9px,1.55vw,24px); border-radius: 6px; min-height: 38px;
  color: #ded5c9; font-size: 14px; line-height: 1.2;
}
.route-views button:hover { background: #3a3530; }
.route-views button[aria-selected=true] { background: #f6eada; color: #271a10; }
.route-line-icon,.route-brand-icon { display: inline-block; width: 22px; height: 22px; vertical-align: middle; flex: none; }
.route-brand-icon { padding: 3px; border-radius: 5px; background: #fff; }
.route-views .route-line-icon { width: 18px; height: 18px; }
#route-visual { min-width: 0; border-radius: 12px; }
.route-fallback { width: 100%; height: auto; display: block; border-radius: 12px; }
.route-settings {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 12px 0 0;
}
.route-settings label {
  display: grid; position: relative; align-items: center;
  grid-template: auto auto / 34px minmax(0,1fr); column-gap: 10px;
  border: 1px solid #514a41; background: #22211f; padding: 8px 12px; border-radius: 7px;
}
.route-control-icon { grid-column: 1; grid-row: 1 / 3; display: grid; place-items: center; color: #ffb58b; }
.route-control-icon :is(img,svg) { width: 28px; height: 28px; }
.route-settings label > span:nth-child(2) { grid-column: 2; color: #d0b9a2; font: 10px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.route-settings select {
  grid-column: 2; width: 100%; min-width: 0; height: 28px; color: #fff3e3; background: #22211f;
  cursor: pointer; font: 15px/1.3 var(--sans); border: 0; padding: 0;
}
.route-settings label:focus-within { border-color: #ffae79; }
.route-notes { margin-top: 10px; }
.route-notes summary { display: list-item; width: fit-content; cursor: pointer; color: #d8c8b7; font-size: 13px; padding: 6px 0; }
.route-notes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 12px 0; }
.route-notes-grid strong { color: #f6b491; font-size: 13px; }
.route-notes-grid p { margin: 3px 0 0; font-size: 14px; color: #d6d2ca; }
@media (max-width: 660px) {
  .route-views { width: 100%; }
  .route-views button { flex: 1; gap: 4px; padding: 7px 5px; min-height: 43px; font-size: 12px; }
  .route-views .route-line-icon { width: 16px; height: 16px; }
  .route-settings { grid-template-columns: 1fr; gap: 5px; }
  .route-settings label { grid-template: auto / 22px 65px minmax(0,1fr); padding: 6px 9px; gap: 8px; }
  .route-control-icon { grid-row: 1; }
  .route-control-icon :is(img,svg) { width: 22px; height: 22px; }
  .route-settings select { grid-column: 3; height: 32px; font-size: 14px; }
  .route-notes-grid { grid-template-columns: 1fr; gap: 10px; }
}
