/* The desktop shell owns widths from 941px. This sheet handles the same routes below it. */
@font-face {
  font-family: "FTO Display";
  src: url("/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
body { --mobile-paper: #fffcf6; --mobile-ink: #182128; --mobile-line: #dfd6c6; --mobile-orange: #a83d06; }
html body { scroll-padding-bottom: var(--tab-space); }
operator-navigation .operator-tabs:has(.ft-more) { grid-template-columns: repeat(5,minmax(0,1fr)); }
.operator-tabs > .ft-more {
  display: grid; align-content: center; justify-items: center; gap: 4px; min-width: 0; min-height: var(--tab-height);
  margin: 0; padding: 4px 1px; border: 0; border-radius: 0; color: #fffdf8; background: transparent; font: inherit; cursor: pointer;
}
#ft-mobile-menu {
  box-sizing: border-box; inset: auto 8px calc(var(--tab-space) + 8px); margin: 0 auto;
  width: min(calc(100% - 16px), 32rem); max-height: calc(100dvh - var(--tab-space) - 24px); overflow: auto;
  padding: 14px; border: 1px solid var(--mobile-line); border-radius: 16px; background: var(--mobile-paper);
  color: var(--mobile-ink); box-shadow: 0 12px 40px #10182040; font: 600 1rem/1.3 "DM Sans",system-ui,sans-serif;
}
#ft-mobile-menu::backdrop { background: #10182066; }
#ft-mobile-menu header { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 8px; background: transparent; color: inherit; }
#ft-mobile-menu header strong { font-size: 1.3rem; }
#ft-mobile-menu header button { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f2eadf; color: inherit; font-size: 24px; cursor: pointer; }
.ft-menu-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.operator-tabs #ft-mobile-menu .ft-menu-links a {
  display: flex; justify-content: flex-start; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px;
  color: var(--mobile-ink); background: white; border: 1px solid var(--mobile-line); border-radius: 9px; text-align: start; font-size: .88rem;
}
.ft-menu-links svg { flex: 0 0 20px; color: var(--mobile-orange); }
body:has(.ft-home-lead) { background: #faf6ed; }
html body:has(.ft-home-lead) .site-header,html body:has(.ft-home-lead) .site-header .header-inner {
  background: #161a1c; color: white; border: 0;
}
html body:has(.ft-home-lead) .site-header .header-inner { min-height: 50px; }
html body:has(.ft-home-lead) .operator-brand,html body:has(.ft-home-lead) .home-menu summary { color: #fffaf2; }
html body:has(.ft-home-lead) .operator-brand b { color: #ff943e; }
body:has(.ft-home-lead) .hero { padding: 0; margin: 0; background: #faf6ed; min-height: 0; border: 0; }
.hero .ft-home-lead[hidden] { display: block!important; }
.ft-home-lead .ft-home-search { display: none; }
.hero .ft-banner {
  box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; min-height: clamp(146px,32vw,204px);
  margin: 12px clamp(12px,2.5vw,22px) 0; padding: 17px clamp(16px,4vw,32px); border-radius: 12px;
  background: linear-gradient(90deg,#101418ab,transparent 82%), #161717 url("/desktop-art/calendar-hero.webp") 61% center / cover no-repeat;
}
html body .hero .ft-banner #home-heading { position: static; color: #fffaf2; font: 800 clamp(40px,9vw,64px)/.91 "FTO Display",sans-serif; letter-spacing: -.02em; margin: 0; }
.hero .ft-banner #home-heading em { color: #ff8b2b; font: inherit; }
.hero .ft-banner p { max-width: 24ch; margin: 9px 0 0; color: #fffaf2; line-height: 1.3; font-size: .86rem; }
html body:has(.ft-home-lead) .hero .hero-inner { display: block; width: auto; min-height: 0; padding: 10px clamp(12px,2.5vw,22px) 0; }
body:has(.ft-home-lead) .hero .hero-tools .locate-action { font-size: .85rem; }
body:has(.ft-home-lead) .hero::before,body:has(.ft-home-lead) .hero::after { display: none; }
body:has(.ft-home-lead) .hero .visitor-count { display: none; }
html body:has(.ft-home-lead) #openings.shell { box-sizing: border-box; width: auto; margin: 10px clamp(12px,2.5vw,22px) 18px; padding: 0; display: flex; flex-direction: column; }
body:has(.ft-home-lead) #openings>.section-head { order: -4; position: static; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; min-height: 44px; }
body:has(.ft-home-lead) #openings .section-head h2 { font-size: clamp(1.16rem,4vw,1.55rem); }
body:has(.ft-home-lead) .mobile-filters { position: relative; }
body:has(.ft-home-lead) .mobile-filters summary { min-height: 44px; display: flex; align-items: center; padding-inline: 10px; }
html body:has(.ft-home-lead) #openings .home-browse-link { position: static; order: 1; margin: 10px 0 0; }
body:has(.ft-home-lead) .home-browse-link a { display: inline-flex; align-items: center; min-height: 44px; }
body:has(.ft-home-lead) #openings .section-head #view-toggle { margin-right: 0; }
html body #openings #cards:not([hidden]),body[data-customer]:not([data-board-tool]) #results:not(.compared-results) {
  display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; align-items: start; overflow: visible; width: 100%;
}
html body .operator-card { position: relative; min-width: 0; border: 1px solid #ddd4c5; border-radius: 13px; background: var(--mobile-paper); box-shadow: 0 2px 6px #33270e0a; }
html body #openings .operator-card.has-picture { display: grid; grid-template-columns: minmax(0,1fr) auto; padding: 12px 14px; gap: 7px 9px; }
#openings .operator-card.has-picture > :is(.opening-picture,.opening-heading,.opening-terms) { grid-column: 1/-1; }
#openings .operator-card .opening-picture { display: block; margin: -12px -14px 1px; height: clamp(82px,22vw,130px); border-radius: 12px 12px 0 0; background-size: cover; }
#openings .has-picture .opening-heading { position: relative; padding: 0; }
#openings .operator-card .operator-kind { position: static; display: inline-flex; width: fit-content; }
#openings .operator-card .event-name { margin: .3rem 0 .2rem; font-size: 1.13rem; line-height: 1.18; }
#openings .operator-card .opening-glyph { display: none; }
#openings .operator-card .opening-terms { padding: 6px 0; margin: 0; }
html body .operator-card .opening-action { min-height: 44px; border-radius: 7px; grid-column: 1/-1; }
html body[data-home-access=full] #openings .operator-card:has(.mobile-save) .opening-action { grid-column: 1; }
body[data-home-access=full] .mobile-save[hidden] { display: flex!important; align-items: center; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
.mobile-save button,.mobile-save a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; box-sizing: border-box; border: 1px solid #c9beae; border-radius: 7px; background: white; color: var(--mobile-ink); font: 650 .88rem/1.25 "DM Sans",system-ui,sans-serif; cursor: pointer; }
.mobile-save .save-feedback:not(:empty) { max-width: 12ch; font-size: .8rem; }
.opening-dialog-actions :is(a,button),.detail-actions :is(a,button) { min-height: 44px; }
html body .ft-tracker-search[hidden] { display: flex!important; align-items: center; gap: 8px; margin-block: 8px; padding-inline: 10px; border: 1px solid var(--mobile-line); border-radius: 8px; background: white; }
.ft-tracker-search svg { width: 20px; height: 20px; }
.ft-tracker-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; font: inherit; font-size: 16px; }
body .cc { padding: 16px 14px; }
.cc .cc-top { display: grid; gap: 12px; padding-bottom: 12px; }
.cc .cc-search { width: 100%; min-width: 0; min-height: 44px; }
.cc .cc-search input,.cc form :is(input,textarea,select) { font-size: 16px; }
.cc .cc-mobile-switch[hidden] { display: flex!important; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.cc-mobile-switch button { min-height: 44px; border: 1px solid var(--mobile-line); border-radius: 22px; background: white; padding: 0 13px; font-size: .88rem; }
.cc-mobile-switch button[aria-pressed=true] { background: #1c2429; color: white; }
.cc .cc-columns { display: block; min-height: 0; }
.cc .cc-columns > * { display: none; }
.cc-columns[data-pane=feed] > .cc-feed,.cc-columns[data-pane=chats] > .cc-chats,.cc-columns[data-pane=rooms] > .cc-right { display: block; padding: 0; border: 0; }
.cc .cc-columns button,.cc .cc-columns .cc-wide,.cc .cc-columns .cc-row { min-height: 44px; }
.cc .cc-copy strong { font-size: .96rem; }
.cc .cc-copy small { font-size: .83rem; }
body .truck-editor { padding: 16px 12px; }
.truck-editor .owner-section { grid-template-columns: minmax(0,1fr); padding: 14px; }
.truck-editor .owner-icon { display: none; }
.truck-editor .owner-fields { grid-template-columns: minmax(0,1fr); gap: 9px; }
.truck-editor :is(input:not([type=checkbox],[type=file]),select),.truck-editor textarea { min-height: 44px; font-size: 16px; }
.truck-editor .owner-foot { flex-wrap: wrap; }
.truck-editor .owner-foot-actions :is(button,a) { min-height: 44px; }
.fto-desktop-account .da-grid { grid-template-columns: minmax(0,1fr); }
.fto-desktop-account .da-profile { grid-template-columns: 70px minmax(0,1fr); padding: 12px; }
.fto-desktop-account .da-profile-actions { grid-column: 1/-1; }
.fto-desktop-account .da-row,.fto-desktop-account .da-foot-link { min-height: 44px; }
@media (min-width:700px) {
  html body #openings #cards:not([hidden]),body[data-customer]:not([data-board-tool]) #results:not(.compared-results) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html body:has(.ft-home-lead) .hero .hero-inner { padding-top: 14px; }
  .truck-editor .owner-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
#openings .operator-card .opening-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#openings .operator-card .opening-heading :is(.event-name,.opening-city) { flex-basis: 100%; }
html body .operator-card .opening-action {
  position: static; box-sizing: border-box; display: flex; justify-content: center; align-items: center; gap: 8px;
  width: 100%; margin: 0; padding: 8px 12px; border: 0; background: #20262a; color: #fffaf2; font: 680 .93rem/1.3 "DM Sans",system-ui,sans-serif;
}
html body .operator-card .opening-action svg { display: none; }
html body .operator-card .opening-action svg:last-child { display: block; width: 15px; height: 15px; }

/* Share the openings heading across desktop and phone without duplicate filters. */
body[data-customer]:not(.board-account-open):not([data-board-tool]) .ft-browse-head[hidden] { display: block!important; }
html body .ft-browse-head #discovery-heading { position: static; width: auto; height: auto; clip-path: none; overflow: visible; margin: 0 0 12px; padding: 0; color: var(--mobile-ink); font: 750 1.5rem/1.15 "DM Sans",Arial,sans-serif; letter-spacing: -.04em; }
.ft-browse-head > :not(h1) { display: none!important; }
