/* Local visual alternative. Opt in through linear.html; shared behaviour stays unchanged. */
body.imota-linear {
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-xl: 0;
  --radius-lg: 0;
  --radius-md: 2px;
  --shadow: none;
  --discovery-line: #d5e1e9;
  --discovery-blue: #076cb4;
  --discovery-muted: #475e70;
  color: #16334a;
  background: #fff;
}
body.imota-linear::before, body.imota-linear::after { display: none; }

.imota-linear .site-header { padding: 0 var(--page-gutter); background: #fff; border-bottom: 1px solid #dbe5ec; }
.imota-linear .header-inner { max-width: 1120px; margin: 0 auto; padding: 1rem 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.imota-linear .header-inner::before { display: none; }
.imota-linear .brand-name { color: #123652; text-shadow: none; font-family: "Montserrat", sans-serif; }
.imota-linear .brand-meta { color: #566c7d; text-shadow: none; }
.imota-linear :is(.burger-trigger, .locale-trigger) { border: 1px solid #c9dce9; border-radius: 2px; color: #174465; background: #fff; box-shadow: none; }
.imota-linear .burger-trigger span { background: #174465; }
.imota-linear :is(.burger-trigger, .locale-trigger)[aria-expanded="true"] { background: #e8f3fa; }
.imota-linear :is(.burger-menu, .locale-menu) { border: 1px solid #c9dce9; border-radius: 2px; background: #fff; box-shadow: 0 8px 20px #142d4012; color: #173a53; backdrop-filter: none; }
.imota-linear .main-nav { gap: 0; }
.imota-linear .main-nav a { border: 0; border-bottom: 1px solid #e8eef3; border-radius: 0; color: #173a53; background: #fff; font-size: .88rem; }
.imota-linear .main-nav a:hover { background: #eaf4fb; color: #075a95; }
.imota-linear .locale-option { border-radius: 2px; color: #173a53; background: #fff; }
.imota-linear .locale-option.is-active, .imota-linear .locale-option:hover { color: #075a95; background: #e7f2fa; }
.imota-linear :is(.locale-empty, .locale-status, .locale-content-note) { color: #475e70; }
.imota-linear .locale-search { border-radius: 2px; }

.imota-linear .discovery-navigation { margin-top: .65rem; }
.imota-linear .discovery-navigation a { border-radius: 0; border-bottom: 2px solid transparent; font-weight: 600; }
.imota-linear .discovery-navigation a[aria-current] { background: transparent; border-bottom-color: #0873bc; }
.imota-linear :is(.discovery-home, .discovery-page) h1 { font-weight: 650; letter-spacing: -.035em; }
.imota-linear :is(.discovery-home, .discovery-page) h2 { font-weight: 650; }
.imota-linear .discovery-hero { border-radius: 0; background: #e8f3f9; color: #153b56; }
.imota-linear .discovery-hero-copy > p:not(.discovery-overline) { color: #426178; }
.imota-linear .discovery-shortcuts a { color: #245572; }
.imota-linear .discovery-search-field { padding: .3rem; border-radius: 2px; border-color: #b7ccd9; box-shadow: none; }
.imota-linear .discovery-search-field :is(input, button) { border-radius: 2px; }
.imota-linear .discovery-search-field button { background: #086ab3; }

.imota-linear .discovery-category-grid { gap: 0; border-top: 1px solid var(--discovery-line); border-left: 1px solid var(--discovery-line); }
.imota-linear .discovery-category { min-height: 116px; border: 0; border-right: 1px solid var(--discovery-line); border-bottom: 1px solid var(--discovery-line); border-radius: 0; padding: 1.25rem; box-shadow: none; }
.imota-linear .discovery-category:hover { background: #eff7fc; }
.imota-linear .discovery-category strong { font-weight: 650; }
.imota-linear .discovery-category small { font-size: .82rem; }
.imota-linear :is(.discovery-type, .discovery-change, .discovery-empty, .discovery-note) { border-radius: 2px; box-shadow: none; }
.imota-linear .discovery-type { border-color: #c9dae5; }
.imota-linear .discovery-type[aria-current] { border-color: #086ab3; }
.imota-linear .discovery-explore { border-radius: 0; background: #f2f7fa; border-block: 1px solid #d7e4ed; }
.imota-linear .discovery-business { border-radius: 0; background: #e8f3f9; }
.imota-linear .discovery-business > a { border-radius: 2px; }
.imota-linear .discovery-business-steps li { border-radius: 0; box-shadow: none; }
.imota-linear .discovery-results .place-card { border-radius: 2px; box-shadow: none; border-color: #d5e1e9; }
.imota-linear .discovery-results .place-media { border-radius: 0; background: #f1f5f8; }
.imota-linear .discovery-results .card-tag { border-radius: 0; }
.imota-linear .discovery-home .columns-showcase { border-radius: 0; background: #103b5e; }
.imota-linear :is(.columns-card, .columns-card__media, .columns-card__label, .columns-showcase__button) { border-radius: 2px; box-shadow: none; }

/* Continue the same treatment through listings and the business profile. */
.imota-linear :is(.subpage-layout, .subpage-layout--catalog, .subpage-band, .subpage-band--hero, .subpage-band--light, .subpage-band--catalog) { background: #fff; }
.imota-linear .subpage-layout .page-hero { border: 0; border-left: 3px solid #167fbe; border-radius: 0; background: #eff6fa; box-shadow: none; }
.imota-linear :is(.panel, .auth-panel, .event-calendar-card, .event-agenda-item, .event-agenda-empty, .event-detail, .platform-split) { border-radius: 2px; box-shadow: none; }
.imota-linear :is(.button, .ghost-button, .chip, .event-agenda-filters a, .event-agenda-more, .auth-field input, .auth-field textarea, .eyebrow, .event-detail > img) { border-radius: 2px; box-shadow: none; }
.imota-linear :is(.button, .auth-submit) { background: #086ab3; }
.imota-linear .business-profile :is(.profile-cover, .profile-section, .profile-gallery img, .profile-action, .profile-offers a, .profile-map, .profile-leaflet-map) { border-radius: 2px; box-shadow: none; }
.imota-linear .business-profile .profile-cover { background: #f1f5f8; }
.imota-linear .business-profile .profile-section { border: 0; border-top: 1px solid #d5e1e9; padding: 1.25rem 0; }
.imota-linear .profile-action:hover { box-shadow: none; }
.imota-linear .site-footer { border-top: 1px solid #dbe5ec; background: #f7fafc; }
.imota-linear :is(a, button, input, textarea, summary):focus-visible { outline: 3px solid #e4a31a; outline-offset: 3px; }

@media (max-width: 700px) {
  .imota-linear .header-inner { padding: .7rem 0; }
  .imota-linear .discovery-hero { color: #fff; }
  .imota-linear .discovery-hero-photo::after { background: #062b45d9; }
  .imota-linear .discovery-hero-copy > p:not(.discovery-overline) { color: #e1edf5; }
  .imota-linear .discovery-shortcuts a { color: #f0f7fc; }
  .imota-linear .discovery-category { min-height: 128px; padding: 1rem; }
  .imota-linear .discovery-category strong { font-size: 1rem; }
  .imota-linear .discovery-category small { font-size: .8rem; }
  .imota-linear .discovery-navigation { margin: 0; background: #fff; box-shadow: none; backdrop-filter: none; }
  .imota-linear .discovery-navigation a { border: 0; border-top: 2px solid transparent; }
  .imota-linear .discovery-navigation a[aria-current] { border-top-color: #0873bc; background: #edf6fc; }
  .imota-linear .discovery-results .place-card { min-height: 165px; }
}
