/* IRK BMW assets and controls with no matching element in the archive. */
.logo.irk-archive-logo { display: inline-flex; align-items: center; gap: 9px; color: inherit; font-weight: 800; white-space: nowrap; }
.logo.irk-archive-logo img { width: 38px; height: 38px; flex: none; border-radius: 50%; }
.auto-site .logo.irk-brand { flex: none; width: max-content; max-width: none; gap: clamp(6px,1vw,10px); }
.irk-brand-emblem {
  display: grid; place-items: center; flex: none; width: clamp(44px,3.2vw,46px); aspect-ratio: 1;
  padding: 1px; overflow: hidden; border: 1px solid #739acb; border-radius: 50%;
  background: #20252d; box-shadow: 0 0 0 2px rgb(115 154 203 / 15%);
}
.auto-site .logo.irk-brand .irk-brand-emblem img {
  display: block; width: 100%; height: 100%; min-width: 0; object-fit: cover;
  filter: brightness(1.16);
}
.irk-brand-word {
  position: relative; display: inline-flex; align-items: baseline; padding-bottom: 4px;
  color: #f2a56f; font-size: clamp(17px,1.55vw,23px); font-weight: 800; line-height: 1.1; letter-spacing: .015em;
}
.irk-brand-word::after {
  position: absolute; right: 0; bottom: 0; width: 28px; height: 2px; content: "";
  background: linear-gradient(110deg,#7196bd 0 46%,transparent 46% 56%,#d27b47 56% 100%);
}
.irk-brand-word .irk-brand-separator { color: #a9a19b; }
.irk-brand-word .irk-brand-bmw { color: #9cbbe2; }
@media (max-width: 359px) {
  .auto-site .logo.irk-brand { gap: 5px; }
  .irk-brand-emblem { width: 40px; }
  .irk-brand-word { font-size: 15px; letter-spacing: 0; }
}
.auto-site [hidden] { display: none !important; }
.auto-site .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.auto-gallery figure { margin: 0; min-width: 0; }
.auto-gallery-frame, .case-card video { display: block; width: 100%; border-radius: 8px; }
.auto-gallery-frame { aspect-ratio: 4 / 3; overflow: hidden; }
.auto-gallery-frame img, .repair-media .repair-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.auto-gallery-frame img { object-position: center 59%; }
.home-article-image img, .blog-story-image img, .blog-featured-image img, .article-hero-frame .article-hero { object-fit: cover; }
.hero-photo picture img { object-position: 69% center; }
.home-article-image img, .blog-story-image img, .blog-featured-image img, .article-hero-frame .article-hero, .auto-gallery-frame img, .repair-image { filter: saturate(.9); }
.blog-featured, .blog-story, #article-text, [id^="article-section-"] { scroll-margin-top: 90px; }
.auto-gallery figcaption { padding-block-start: 8px; }
.repair-layout { align-items: start; }
.repair-layout .repair-media { position: relative; margin: 0; padding: 0; min-height: 0; min-width: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.repair-media .repair-image { position: absolute; inset: 0; }
.repair-topics { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 17px 0 0; list-style: none; }
.repair-topics li { border: 1px solid #69503e; border-radius: 5px; padding: 4px 9px; color: #d9c5b5; font-size: .86rem; }
#repair-details { scroll-margin-top: 104px; }
.footer-col .auto-link-button { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.footer-col .auto-icon { vertical-align: middle; width: 15px; height: 15px; }
.auto-dialog:not([open]) { display: none; }
.auto-dialog.form-card { width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: hidden; }
.auto-dialog.form-card::before, .auto-dialog.form-card::after { display: none; }
.auto-dialog-body { min-width: 0; max-height: calc(100dvh - 26px); padding: clamp(15px, 4vw, 28px); overflow: hidden auto; overscroll-behavior: contain; }
.auto-dialog::backdrop { background: rgb(12 11 10 / 78%); }
.auto-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auto-dialog-close { min-width: 42px; min-height: 42px; border: 1px solid currentColor; border-radius: 8px; background: none; color: inherit; font: inherit; cursor: pointer; }
.auto-dialog [role="status"]:empty, #auto-chat-form [role="status"]:empty { display: none; }
.auto-site .irk-support-widget > .chat-launcher {
  position: fixed; z-index: 151; inset: auto max(24px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) auto;
}
.auto-site .irk-support-widget .messenger-dialog {
  inset: auto max(24px, env(safe-area-inset-right)) calc(80px + var(--support-keyboard-offset,0px)) auto;
  display: flex; flex-direction: column; width: min(700px,calc(100% - 48px));
  height: min(590px,calc(var(--support-visible-height,100dvh) - 96px)); overflow: hidden;
}
.auto-site .irk-support-widget .messenger-layout { flex: 1; min-height: 0; height: auto; grid-template-columns: minmax(0,1fr); }
.irk-support-widget .messenger-conversation { min-height: 0; min-width: 0; display: flex; flex-direction: column; }
.irk-support-widget .messenger-thread { min-height: 0; }
.auto-chat-message { align-self: flex-start; max-width: 85%; padding: 10px 14px; border: 1px solid #504d4b; background: #252322; }
.auto-chat-message[data-sender="guest"] { align-self: flex-end; border-color: #794328; background: #33241d; }
.auto-chat-message b { font-size: 12px; color: #9bb9e1; }
.auto-chat-message p { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#auto-chat-form { display: block; flex: 0 0 auto; overflow: auto; max-height: 62%; padding: 10px 14px; }
#auto-chat-form .field, #auto-chat-form textarea { min-width: 0; }
#auto-chat-form textarea { display: block; width: 100%; min-height: 46px; max-height: 90px; resize: vertical; }
.auto-chat-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 6px 12px; margin-top: 8px; }
#auto-chat-form .consent-control { flex: 1 1 215px; margin: 0; font-size: .82rem; }
#auto-chat-form .consent-control label { display: flex; align-items: flex-start; gap: 7px; }
.auto-page-loader { display: none; }
.irk-is-loading .auto-page-loader {
  display: grid; place-items: center; position: fixed; z-index: 900; inset: 0;
  background: #151312; color: #efe8e2; pointer-events: none;
  animation: auto-loader-enter .15s .1s both;
}
.auto-loader-content { display: grid; justify-items: center; gap: 16px; font-size: .88rem; }
.auto-loader-wheel { width: 82px; height: 82px; animation: auto-loader-spin 1.2s linear infinite; }
@keyframes auto-loader-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes auto-loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .irk-is-loading .auto-page-loader, .auto-loader-wheel { animation: none; }
}
.admin-owner-logout { margin-top: 20px; }
#visit-form input, #visit-form select { min-width: 0; max-width: 100%; }

.auto-account-error { color: #df9a6e; }
.auto-account-new, .feature-strip > div:first-child .feature-icon, .hero-photo .art-sticker i,
.site-events-launch:not(.has-unread) .auto-icon { color: #82a9db; }
.hero-photo .art-sticker i { background-color: #6e99d0; }
.article-read-track [data-reading-fill] { background: #6e99d0; }
.hero-telemetry-bars > i:nth-child(3n) { background-color: #628aba; }
.nav-actions .site-events-launch { display: inline-flex; align-items: center; justify-content: center; }
.nav-actions .nav-login .auto-icon { flex: none; }
.dashboard .ticket { overflow-wrap: anywhere; }
.dashboard .account-notebook-summary { margin-block: 0 20px; }
.account-notebook { display: grid; grid-template-columns: minmax(185px,1fr) minmax(0,3fr); gap: 16px; align-items: start; }
.account-notebook .nb-views > a { display: block; text-align: start; overflow-wrap: anywhere; }
.account-notebook .nb-views > a[aria-current] { border-color: #ce6e38; }
.account-notebook .nb-edit-form { padding: 16px; }
.account-notebook .nb-edit-form input, .account-notebook .nb-edit-form select { min-width: 0; max-width: 100%; }
.account-notebook .nb-editor-footer { justify-content: flex-start; }
.blog-topics a[aria-current] { border-color: #ce6e38; }
.main-nav .auto-mobile-booking { display: none; }
@media (max-width: 600px) {
  .auto-header-booking { display: none; }
  .main-nav .auto-mobile-booking { display: flex; }
  .account-notebook { grid-template-columns: minmax(0,1fr); }
  .auto-site .irk-support-widget > .chat-launcher { right: max(12px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom)); }
  .auto-site .irk-support-widget .messenger-dialog {
    right: max(12px,env(safe-area-inset-right)); left: max(12px,env(safe-area-inset-left)); width: auto;
    bottom: calc(74px + var(--support-keyboard-offset,0px));
    height: max(132px,min(565px,calc(var(--support-visible-height,100dvh) - 86px)));
  }
}

/* Shared workspace for the site's editorial and service records. */
.irk-admin-workspace { display: grid; grid-template-columns: minmax(195px,245px) minmax(0,1fr); align-items: start; gap: clamp(14px,3vw,38px); padding-block: 28px 65px; }
.irk-admin-workspace .admin-sidebar { position: sticky; top: 110px; align-self: start; min-width: 0; }
.irk-admin-workspace .admin-sidebar-sections { display: grid; gap: 17px; }
.irk-admin-nav-group { display: grid; gap: 4px; }
.irk-admin-nav-group b { padding-inline: 9px; color: #9bb9e1; font-size: .82rem; }
.irk-admin-nav-group a { display: flex; align-items: center; min-height: 38px; padding: 6px 9px; color: #ece7e1; overflow-wrap: anywhere; }
.irk-admin-nav-group a:is(:hover,.active) { color: #f5ae81; background: #37261c; box-shadow: inset 2px 0 #d68655; }
.irk-admin-workspace .irk-admin-content { min-width: 0; padding: 0; margin: 0; }
.irk-admin-workspace .admin-title { gap: 14px; flex-wrap: wrap; }
.irk-admin-workspace .admin-form { margin-block: 14px; padding: 14px clamp(12px,3vw,24px); min-width: 0; overflow-wrap: anywhere; scroll-margin-top: 110px; }
.irk-admin-workspace .admin-form summary { cursor: pointer; }
.irk-admin-filter { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding: 16px; margin: 0 0 18px; }
.irk-admin-filter label { display: grid; gap: 4px; flex: 1 1 135px; }
.irk-admin-workspace :is(input:not([type=checkbox]),select,textarea) { min-width: 0; max-width: 100%; }
.irk-admin-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.irk-admin-table :is(th,td) { text-align: start; padding: 12px; vertical-align: top; border-block-end: 1px solid #463830; overflow-wrap: anywhere; }
.irk-admin-table th { color: #9bb9e1; font-size: .82rem; }
.irk-admin-table td[id] { scroll-margin-top: 110px; }
.irk-admin-table a { color: #f2ad83; }
.irk-admin-links { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; margin-block: 8px 16px; }
.irk-admin-badge { display: inline-block; width: fit-content; padding: 4px 8px; border: 1px solid #516d91; color: #b6ccee; font-size: .82rem; }
.irk-admin-empty { padding: 12px; color: #bdafa5; }
.irk-admin-chat .messenger-layout { display: grid; grid-template-columns: minmax(185px,32%) minmax(0,1fr); height: min(720px,80dvh); min-height: 440px; }
.irk-admin-chat :is(.messenger-inbox,.messenger-conversation) { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.irk-admin-chat .messenger-head { justify-content: space-between; flex-wrap: wrap; }
.irk-admin-chat .messenger-thread { min-height: 0; }
.irk-admin-thread { display: grid; gap: 4px; padding: 12px; border-block-end: 1px solid #453a33; overflow-wrap: anywhere; }
.irk-admin-thread[aria-current] { background: #30231e; box-shadow: inset 2px 0 #d68655; }
.irk-admin-thread small { color: #abbfdc; }
.irk-admin-chat .irk-admin-compose { padding: 10px 14px; display: grid; gap: 6px; }
.irk-admin-chat-delete { padding: 0 14px 12px; }
.irk-chat-back { display: none; }

.irk-top-location { display: inline-flex; align-items: center; gap: 5px; }
.irk-top-location .auto-icon { width: 16px; height: 16px; color: #9bb9e1; }
.irk-booking-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(250px,.75fr); align-items: start; gap: 20px clamp(15px,4vw,48px); padding-block: clamp(24px,4vw,56px) 65px; }
.irk-booking-header { grid-column: 1/-1; }
.irk-booking-header h1 { margin: 0; font-size: clamp(2rem,5vw,3.4rem); line-height: 1.08; }
.irk-booking-header p { margin: 8px 0 0; }
.irk-booking-layout #visit-form { margin: 0; padding: clamp(14px,2.5vw,28px); min-width: 0; }
.irk-booking-info { min-width: 0; }
.irk-post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-block: 8px; color: #c3b3a6; font-size: .85rem; }
.auto-site .irk-compact-guides { grid-template-columns: repeat(2,minmax(0,1fr)); }
.auto-site .irk-compact-guides .home-article-image { aspect-ratio: 16 / 7; min-height: 0; }
.auto-site .irk-compact-guides .home-article-image img { width: 100%; height: 100%; object-fit: cover; }
.auto-site .irk-manifesto-icon .ui-icon { width: clamp(35px,5vw,62px); height: auto; }
.irk-visit-steps { position: relative; padding: 0; list-style: none; }
.irk-visit-steps::before { position: absolute; content: ""; top: 24px; left: 18px; right: 18px; height: 1px; background: #6b4b37; }
.irk-visit-steps .irk-step-icon { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 54px; height: 44px; border: 1px solid #9c6644; background: #201713; }
.irk-step-icon small { color: #a6c1e3; }
.irk-mobile-actions { display: none; }
.irk-booking-layout .irk-booking-support { display: none; }
@media (max-width: 900px) {
  .irk-admin-workspace { grid-template-columns: minmax(0,1fr); }
  .irk-admin-workspace .admin-sidebar { position: static; }
  .irk-admin-workspace .admin-sidebar-sections { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 14px; }
}
@media (max-width: 720px) {
  .irk-booking-layout { grid-template-columns: minmax(0,1fr); gap: 14px; padding-block: 22px 50px; }
  .irk-booking-layout #visit-form .form-grid { gap: 12px; }
  .irk-visit-steps::before { display: none; }
  .irk-visit-steps .step { border-inline-start: 1px solid #6b4b37; padding-inline-start: 12px; }
  .irk-admin-chat .messenger-layout { display: block; height: auto; min-height: 0; }
  .irk-admin-chat .messenger-list { max-height: 60dvh; }
  .irk-admin-chat:not(.is-thread) .messenger-conversation, .irk-admin-chat.is-thread .messenger-inbox { display: none; }
  .irk-admin-chat.is-thread .messenger-thread { min-height: 125px; max-height: 46dvh; }
  .irk-chat-back { display: inline-flex; }
}
@media (max-width: 600px) {
  .irk-top-location span { display: none; }
  .irk-top-location { min-width: 26px; min-height: 26px; justify-content: center; }
  .auto-site .irk-compact-guides { gap: 10px; }
  .auto-site .irk-compact-guides .home-article-image { aspect-ratio: 4 / 3; }
  .auto-site .irk-compact-guides .home-article-copy { padding: 10px; min-width: 0; }
  .auto-site .irk-compact-guides .home-article-copy h3 { font-size: .92rem; line-height: 1.35; overflow-wrap: anywhere; }
  .auto-site .irk-compact-guides .home-article-copy > p, .auto-site .irk-compact-guides .home-article-image span { display: none; }
  .irk-mobile-actions-page { --mobile-action-height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: var(--mobile-action-height); }
  .irk-mobile-actions { position: fixed; z-index: 149; inset: auto 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; min-height: var(--mobile-action-height); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #151211; border-top: 1px solid #7b533a; }
  .irk-mobile-actions .button { min-width: 0; min-height: 44px; justify-content: center; gap: 6px; padding-inline: 5px; font-size: .85rem; }
  .auto-site.irk-mobile-actions-page .irk-support-widget > .chat-launcher { bottom: calc(var(--mobile-action-height) + 12px); }
  .auto-site.irk-mobile-actions-page .back-to-top { bottom: calc(var(--mobile-action-height) + 68px); }
  .auto-site.irk-mobile-actions-page .irk-support-widget .messenger-dialog { bottom: calc(74px + var(--mobile-action-height) + var(--support-keyboard-offset,0px)); height: max(120px,min(565px,calc(var(--support-visible-height,100dvh) - 86px - var(--mobile-action-height)))); }
  .auto-site.irk-booking-page .irk-support-widget > .chat-launcher,
  .auto-site.irk-booking-page .back-to-top { display: none; }
  .irk-booking-layout .irk-booking-support { display: inline-flex; }
  .auto-site.irk-booking-page .irk-support-widget .messenger-dialog {
    bottom: calc(max(12px,env(safe-area-inset-bottom)) + var(--support-keyboard-offset,0px));
    height: min(565px,calc(var(--support-visible-height,100dvh) - 24px - env(safe-area-inset-bottom)));
  }
  .auto-site .article-page-hero .page-hero-card { display: none; }
  .irk-admin-table,.irk-admin-table tbody { display: block; }
  .irk-admin-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .irk-admin-table tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-block-end: 1px solid #463830; }
  .irk-admin-table td { padding: 8px 6px; border: 0; }
  .irk-admin-table td::before { display: block; content: attr(data-label); color: #9bb9e1; font-size: .75rem; }
}
