/*
 * The public directory (resources/views/directory): the redesign's Full directory, 6 Nov 2026 design canvas.
 * Expo colours come from App\Services\Expos ('brand': solid, background, text) through --x-solid, --x-bg, --x-fg
 * on each tile, card or option. Space Grotesk for headings and stand numbers, Inter for text. Touch targets 44px.
 */
:root {
    --d-navy: #0C2340; --d-navy-2: #102D52; --d-navy-3: #183A63; --d-navy-line: #2B4A6F; --d-on-navy: #C9D6E5;
    --d-bg: #F5F6F8; --d-card: #FFFFFF; --d-line: #E4E7EC; --d-line-2: #D0D5DD; --d-line-3: #98A2B3; --d-soft: #F2F4F7;
    --d-text: #101828; --d-text-2: #344054; --d-text-3: #475467;
    --d-blue: #005A96; --d-blue-dark: #00406B; --d-sky: #2E8BD8;
    --d-gold-bg: #FFF1D6; --d-gold-fg: #7A4B00; --d-gold-line: #E8C27A; --d-gold-card: #FFFCF5;
    --d-heart: #B3141A; --d-ok: #067647; --d-bad: #B42318;
    --d-radius: 14px;
    --d-font: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --d-display: 'Space Grotesk', Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
.d-body { margin: 0; background: var(--d-bg); color: var(--d-text); font-family: var(--d-font); font-size: 16px; line-height: 1.5; }
.d-body a { color: var(--d-blue); }
.d-body a:hover { color: var(--d-blue-dark); }
.d-body img { max-width: 100%; }
.d-body button, .d-body input, .d-body select { font: inherit; color: inherit; }
.d-body :focus-visible { outline: 3px solid var(--d-sky); outline-offset: 2px; }
.d-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.d-skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--d-navy); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.d-skip:focus { left: 8px; }
.d-wrap { max-width: 1320px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.d-muted { color: var(--d-text-3); font-size: 14px; }
.d-stand { font-family: var(--d-display); font-weight: 700; }
.d-only-phone { display: none !important; }

/* buttons */
.d-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px;
    border: 1px solid var(--d-blue); background: var(--d-blue); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.d-btn:hover { background: var(--d-blue-dark); border-color: var(--d-blue-dark); }
.d-btn-line { background: #fff; color: var(--d-blue) !important; }
.d-btn-line:hover { background: #F0F6FB; color: var(--d-blue-dark) !important; }
.d-btn-block { width: 100%; }
.d-icon-btn { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--d-text-3); border-radius: 10px; }
.d-icon-btn:hover { background: var(--d-soft); }
.d-badge { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; padding: 3px 7px; white-space: nowrap; }
.d-badge-gold { background: var(--d-gold-bg); color: var(--d-gold-fg); }
.d-badge-dark { background: var(--d-navy); color: #fff; }

/* header */
.d-header { background: var(--d-navy); color: #fff; }
.d-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.d-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.d-brand img { height: 30px; width: auto; display: block; }
.d-brand-line { width: 1px; height: 26px; background: rgba(255, 255, 255, .3); }
.d-edition { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--d-on-navy); }
.d-edition select { height: 40px; max-width: 280px; border-radius: 8px; border: 1px solid var(--d-navy-line); background: var(--d-navy-2); color: #fff; padding: 0 10px; }
.d-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.d-nav a, .d-nav button { color: #fff !important; text-decoration: none; font-weight: 500; padding: 10px 14px; border-radius: 8px; border: 0; background: none;
    min-height: 44px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.d-nav a:hover, .d-nav button:hover { background: var(--d-navy-3); }
.d-nav [aria-current="page"] { background: var(--d-navy-3); font-weight: 600; }
.d-count { background: #fff; color: var(--d-navy); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 8px; min-width: 24px; text-align: center; }

/* hero and search */
.d-hero { padding-top: 24px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 16px; }
.d-hero h1 { margin: 0; font-family: var(--d-display); font-size: 44px; line-height: 1.1; font-weight: 700; }
.d-hero-sub { margin: 0; font-size: 18px; color: var(--d-on-navy); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.d-when { background: #EF9C06; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; border-radius: 999px; padding: 2px 10px; }
.d-search-wrap { position: relative; max-width: 860px; }
.d-search { display: flex; gap: 10px; }
.d-search-box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--d-text-3); border-radius: 12px; padding: 0 16px; height: 58px; }
.d-search-box input { border: 0; outline: none; flex: 1; min-width: 0; font-size: 17px; background: transparent; color: var(--d-text); height: 54px; }
.d-search-go { height: 58px; padding: 0 26px; border-radius: 12px; border: 0; background: var(--d-sky); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.d-search-go:hover { background: #1F77C2; }
.d-suggest { position: absolute; z-index: 20; top: 66px; left: 0; right: 0; background: #fff; color: var(--d-text); border-radius: 12px; border: 1px solid var(--d-line-2);
    box-shadow: 0 16px 40px rgba(12, 35, 64, .22); padding: 8px; display: flex; flex-direction: column; max-width: 750px; }
.d-suggest a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--d-text) !important; }
.d-suggest a:hover, .d-suggest a[aria-selected="true"] { background: #EEF4FA; }
.d-suggest-kind { flex-shrink: 0; width: 84px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--d-text-3); }
.d-suggest-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.d-suggest-title { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-suggest-meta { font-size: 13px; color: var(--d-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-suggest-foot { border-top: 1px solid #EEF0F3; margin-top: 6px; padding: 10px 12px 4px; font-size: 13px; color: var(--d-text-3); }
.d-popular { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--d-on-navy); }
.d-popular a { color: #fff !important; border: 1px solid var(--d-navy-line); border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.d-popular a:hover { background: var(--d-navy-3); }

/* page sections */
.d-main { min-height: 50vh; }
.d-stack { display: flex; flex-direction: column; gap: 32px; padding-top: 28px; padding-bottom: 56px; }
.d-section { display: flex; flex-direction: column; gap: 14px; }
.d-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.d-section-head h2 { margin: 0; font-family: var(--d-display); font-size: 24px; }

/* expo tiles */
.d-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.d-tile { text-align: left; background: #fff; border: 2px solid var(--d-line); border-radius: var(--d-radius); padding: 18px 20px; color: var(--d-text);
    display: flex; flex-direction: column; gap: 8px; cursor: pointer; min-height: 44px; }
.d-tile:hover { border-color: var(--x-solid); }
.d-tile[aria-pressed="true"] { border-color: var(--x-solid); box-shadow: inset 0 0 0 1px var(--x-solid); background: var(--x-bg); }
.d-tile-logo { height: 40px; width: auto; align-self: flex-start; }
.d-tile-halls { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--x-fg); }
.d-tile-name { font-family: var(--d-display); font-size: 20px; font-weight: 700; }
.d-tile-n { font-size: 14px; color: var(--d-text-3); }
.d-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--x-solid, var(--d-line-3)); flex-shrink: 0; }
.d-tile .d-dot { border-radius: 3px; width: 12px; height: 12px; }

/* featured */
.d-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.d-feat { text-decoration: none; color: var(--d-text) !important; background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); overflow: hidden; display: flex; flex-direction: column; }
.d-feat:hover { border-color: var(--d-gold-line); }
.d-feat-band { height: 76px; background: var(--x-bg); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.d-feat-logo { width: 96px; height: 52px; border-radius: 10px; background: #fff; object-fit: contain; padding: 4px; }
.d-feat-logo.d-initials { width: 52px; display: flex; align-items: center; justify-content: center; }
.d-feat-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.d-feat-name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.d-feat-meta { font-size: 14px; color: var(--d-text-2); }
.d-initials { font-family: var(--d-display); font-weight: 700; font-size: 20px; color: var(--x-fg, var(--d-text-2)); }

/* the Showcase strip: exhibitors' A4 pages (no "ad" in these names: ad blockers hide them) */
.d-rack { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.d-shelf-item { flex: 0 0 150px; margin: 0; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; }
.d-shelf-img { position: relative; display: block; height: 212px; padding: 0; border-radius: 8px; border: 1px solid var(--d-line-2); overflow: hidden; background: #fff; cursor: zoom-in; }
.d-shelf-img:hover { border-color: var(--d-blue); }
.d-shelf-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.d-shelf-item figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; }
.d-shelf-item figcaption a { font-weight: 600; color: var(--d-text) !important; text-decoration: none; }
.d-shelf-item figcaption a:hover { text-decoration: underline; }
.d-shelf-item figcaption span { font-size: 12px; color: var(--d-text-3); }

/* results: filters + main column */
#results { scroll-margin-top: 12px; }
.d-results { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.d-filters { flex: 1 1 260px; max-width: 300px; background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 20px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.d-filters-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.d-filters-head h2 { margin: 0; font-size: 18px; }
.d-filters-head a { font-weight: 600; font-size: 14px; text-decoration: none; }
.d-facet { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.d-facet legend { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--d-text-3); margin-bottom: 8px; padding: 0; }
.d-opt { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 36px; cursor: pointer; }
.d-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--d-blue); flex-shrink: 0; }
.d-opt-name { flex: 1; min-width: 0; }
.d-opt-n { color: var(--d-text-3); font-size: 14px; }
.d-code { font-size: 11px; font-weight: 700; color: var(--d-text-2); border: 1px solid var(--d-line-2); border-radius: 3px; padding: 1px 4px; }
.d-more-opts summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--d-blue); padding: 6px 0; list-style: none; }
.d-more-opts summary::-webkit-details-marker { display: none; }
.d-results-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.d-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--d-line-2); }
.d-tabs a { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 6px; border-bottom: 3px solid transparent; font-size: 16px; font-weight: 700; color: var(--d-text-3) !important; text-decoration: none; }
.d-tabs a[aria-selected="true"] { border-bottom-color: var(--d-blue); color: var(--d-text) !important; }
.d-tabs a span { font-weight: 500; color: var(--d-text-3); }
.d-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.d-toolbar-left { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--d-text-2); }
.d-toolbar-right { display: flex; gap: 10px; align-items: center; }
.d-pill { min-height: 36px; border-radius: 999px; border: 1px solid var(--d-line-3); background: #fff; padding: 0 12px; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; color: var(--d-text) !important; text-decoration: none; }
.d-pill:hover { border-color: var(--d-text-3); }
.d-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--d-text-2); }
.d-sort select { height: 42px; border-radius: 8px; border: 1px solid var(--d-line-3); background: #fff; padding: 0 10px; }
.d-results.is-loading .d-results-main { opacity: .55; transition: opacity .15s; }
/* with the script on, a ticked filter applies at once: "Show results" is only for closing the phone's sheet */
.d-js .js-apply { display: none; }
.d-js .is-sheet-open .js-apply { display: inline-flex; }

/*
 * Exhibitor cards: the expo's colour as a band on top and a tag, Save, the logo on its own panel, the name and
 * two lines about the company, where to find it (stand, hall) and where it is from, what its page holds
 * (products, a video, a brochure), and View profile with the hall map beside it.
 */
.d-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.d-card { position: relative; background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 0 16px 16px; overflow: hidden;
    display: flex; flex-direction: column; gap: 12px; transition: box-shadow .15s ease, border-color .15s ease; }
.d-card::before { content: ''; display: block; height: 4px; margin: 0 -16px; background: var(--x-solid, var(--d-line-3)); }
.d-card:hover { border-color: var(--d-line-2); box-shadow: 0 10px 28px rgba(12, 35, 64, .10); }
.d-card.is-featured { background: var(--d-gold-card); border-color: var(--d-gold-line); }
.d-card.is-featured::before { background: linear-gradient(90deg, var(--x-solid), #E0A33A); }
.d-card-head { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.d-card-head .d-save { margin-left: auto; }
.d-card-expo { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--x-fg); background: var(--x-bg); border-radius: 999px; padding: 4px 10px 4px 8px; }
.d-card-expo .d-dot { width: 8px; height: 8px; }
.d-save { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--d-line-2); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.d-save svg { fill: none; stroke: var(--d-text-3); }
.d-save:hover { border-color: var(--d-heart); }
.d-save[aria-pressed="true"] { border-color: #F3B7B9; background: #FEF3F2; }
.d-save[aria-pressed="true"] svg { fill: var(--d-heart); stroke: var(--d-heart); }
.d-card-logo { height: 104px; border-radius: 12px; background: #F8FAFC; border: 1px solid #EEF0F3; display: flex; align-items: center; justify-content: center; padding: 12px 16px; text-decoration: none; }
.d-card-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.d-card-logo .d-initials { width: 64px; height: 64px; border-radius: 50%; background: var(--x-bg); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.d-card-text { display: flex; flex-direction: column; gap: 4px; }
.d-card-name { margin: 0; font-size: 17px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d-card-name a { color: var(--d-text) !important; text-decoration: none; }
.d-card-name a:hover { color: var(--d-blue) !important; }
.d-card-about { margin: 0; font-size: 14px; line-height: 1.45; color: var(--d-text-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.d-card-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--d-text-2); }
.d-card-facts li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.d-card-facts li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-card-facts svg { flex-shrink: 0; color: var(--d-text-3); }
.d-card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.d-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--d-text-2); background: var(--d-soft); border-radius: 999px; padding: 4px 10px; }
.d-chip svg { color: var(--d-text-3); }
.d-card-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; border-top: 1px solid #EEF0F3; padding-top: 12px; font-size: 14px; color: var(--d-text-2); }
.d-card-foot a { font-weight: 600; text-decoration: none; }
.d-card-view { flex: 1; min-height: 42px; font-size: 14px; }
.d-card-map { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--d-line-2); color: var(--d-text-2) !important; }
.d-card-map:hover { border-color: var(--d-blue); color: var(--d-blue) !important; }
.d-pcard .d-card-foot { justify-content: space-between; }

/* product cards */
.d-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.d-pcard { background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); overflow: hidden; display: flex; flex-direction: column; }
.d-pcard-img { position: relative; aspect-ratio: 4 / 3; background: #EAEEF3; display: flex; align-items: center; justify-content: center; }
.d-pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.d-pcard-img .d-badge { position: absolute; right: 10px; bottom: 10px; }
.d-pcard-none { font-size: 13px; color: var(--d-text-3); }
.d-pcard-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.d-pcard-expo { font-size: 12px; font-weight: 600; color: var(--x-fg); }
.d-pcard h3 { margin: 0; font-size: 15px; line-height: 1.35; }
.d-pcard h3 a { color: var(--d-text) !important; text-decoration: none; }
.d-more { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 8px; }
.d-empty { background: #fff; border: 1px dashed var(--d-line-3); border-radius: var(--d-radius); padding: 28px; text-align: center; }
.d-empty h3 { margin: 0 0 6px; font-family: var(--d-display); }
.d-empty p { margin: 0; color: var(--d-text-3); }

/*
 * A company's page (directory/company.blade.php): the redesign's Compact profile. The expo's colour comes in as
 * --x-solid / --x-bg / --x-fg on the page.
 */
.d-company { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; padding-bottom: 56px; }
.d-note { background: var(--d-gold-bg); color: var(--d-gold-fg); border: 1px solid var(--d-gold-line); border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: 15px; }
.d-crumbs { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; font-size: 14px; color: var(--d-text-3); }
.d-crumbs nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; min-width: 0; }
.d-crumbs nav [aria-current] { color: var(--d-text-2); font-weight: 600; }
.d-prevnext { display: flex; gap: 16px; }
.d-prevnext a { font-weight: 600; text-decoration: none; }
.d-panel { background: #fff; border: 1px solid var(--d-line); border-radius: 16px; padding: 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.d-panel h2 { margin: 0; font-size: 22px; font-family: var(--d-display); }
.d-h-count { font-family: var(--d-font); font-size: 16px; font-weight: 500; color: var(--d-text-3); }
.d-co-hero { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--d-line); border-radius: 16px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.d-co-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--x-solid); }
.d-co-logo { width: 148px; height: 112px; border-radius: 16px; background: #F8FAFC; border: 1px solid #EEF0F3; display: flex; align-items: center; justify-content: center; padding: 12px; flex-shrink: 0; }
.d-co-logo img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.d-co-logo .d-initials { font-size: 40px; color: var(--x-fg); }
.d-co-title { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.d-co-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.d-co-title h1 { margin: 0; font-family: var(--d-display); font-size: 36px; line-height: 1.15; overflow-wrap: anywhere; }
.d-co-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 16px; color: var(--d-text-2); }
.d-co-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.d-co-actions .d-btn { min-height: 48px; }
.d-co-save svg { fill: none; stroke: currentColor; }
.d-co-save[aria-pressed="true"] { border-color: var(--d-heart); background: #FEF3F2; color: #9A1116 !important; }
.d-co-save[aria-pressed="true"] svg { fill: var(--d-heart); stroke: var(--d-heart); }
.d-co-save .d-when-on, .d-co-save[aria-pressed="true"] .d-when-off { display: none; }
.d-co-save[aria-pressed="true"] .d-when-on { display: inline; }
.d-co-body { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.d-co-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.d-co-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 12px; }
.d-prose { margin: 0; font-size: 16px; line-height: 1.65; color: var(--d-text-2); overflow-wrap: anywhere; }
/* a company's own words (App\Services\ExhibitorProse): paragraphs with room between them, bold that shows, links that
   look like links; fonts, sizes and colours pasted in from other documents follow the page's */
.d-prose p { margin: 0 0 .9em; }
.d-prose > :last-child, .d-prose p:last-child { margin-bottom: 0; }
.d-prose img { max-width: 100%; height: auto; }
.d-prose strong, .d-prose b { font-weight: 600; color: var(--d-text); }
.d-prose a { color: var(--d-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.d-prose a:hover { color: var(--d-blue-dark); text-decoration-thickness: 2px; }
.d-prose ul, .d-prose ol { margin: 0 0 .9em; padding-left: 1.4em; }
.d-prose li { margin: .3em 0; }
.d-prose li::marker { color: var(--x-solid, var(--d-blue)); }
.d-prose h1, .d-prose h2, .d-prose h3, .d-prose h4, .d-prose h5, .d-prose h6 { margin: 1.1em 0 .4em; font-family: inherit; font-size: 17px; line-height: 1.4; color: var(--d-text); }
.d-prose blockquote { margin: 0 0 .9em; padding-left: 14px; border-left: 3px solid var(--d-line-2); }
.d-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 .9em; }
.d-prose td, .d-prose th { border: 1px solid var(--d-line); padding: 6px 10px; text-align: left; }
.d-prose font, .d-prose :not(a)[style] { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; background: none !important; }
.d-prose a[style] { font-family: inherit !important; font-size: inherit !important; }
.d-co-groups { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.d-co-groups .d-muted + .d-chip { margin-right: 6px; }
.d-co-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.d-co-product { border: 1px solid var(--d-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.d-co-pimg { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 4 / 3; background: #EAEEF3; cursor: zoom-in; }
.d-co-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-co-pimg .d-badge { position: absolute; right: 10px; bottom: 10px; }
.d-co-pimg.is-empty { cursor: default; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--d-text-3); }
.d-co-pbody { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.d-co-pcat { font-size: 12px; font-weight: 600; color: var(--x-fg); }
.d-co-pbody h3 { margin: 0; font-size: 15px; line-height: 1.4; }
.d-co-ptext { margin: 0; font-size: 14px; line-height: 1.5; color: var(--d-text-3); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.d-co-plinks { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.d-co-plinks a { font-weight: 600; text-decoration: none; }
.d-link { border: 0; background: none; padding: 0; color: var(--d-blue); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.d-link:hover { color: var(--d-blue-dark); text-decoration: underline; }
.d-co-ask { margin-top: auto; align-self: flex-start; border: 0; background: none; padding: 8px 0 0; color: var(--d-blue) !important; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.d-co-ask:hover { text-decoration: underline; }
.d-co-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.d-co-video { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; overflow: hidden; background: var(--d-navy); color: #fff !important; cursor: pointer; padding: 0; text-decoration: none; }
.d-co-video.is-portrait { aspect-ratio: 16 / 9; }
.d-co-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.d-co-play { position: relative; z-index: 1; }
.d-co-vtitle { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; font-size: 13px; font-weight: 600; text-align: left; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* a brochure's pages as pictures (Companies > Brochure pictures): the cover large, the other pages in a strip */
.d-co-brochure { display: flex; gap: 22px; align-items: flex-start; }
.d-co-brochure + .d-co-brochure { border-top: 1px solid var(--d-line); padding-top: 18px; }
.d-co-cover { flex: 0 0 auto; width: 260px; padding: 0; border: 1px solid var(--d-line); border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in;
    box-shadow: 0 8px 22px rgba(12, 35, 64, .12); }
.d-co-cover img { display: block; width: 100%; height: auto; }
.d-co-brochure-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.d-co-brochure-text h3 { margin: 0; font-size: 18px; color: var(--d-text); }
.d-co-brochure-text p { margin: 0; }
.d-co-pages { display: flex; gap: 10px; max-width: 100%; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x proximity; }
.d-co-page { flex: 0 0 auto; padding: 0; border: 1px solid var(--d-line); border-radius: 8px; overflow: hidden; background: #fff; cursor: zoom-in; scroll-snap-align: start; }
.d-co-page img { display: block; height: 150px; width: auto; }
.d-co-cover:hover, .d-co-page:hover { border-color: var(--x-solid, var(--d-blue)); }
/* no logo: the brochure's whole cover, small, in the logo's place, like a page lying on the panel */
.d-card-logo.has-cover, .d-co-logo.has-cover { padding: 8px; background: #EEF2F6; }
.d-card-logo.has-cover img, .d-co-logo.has-cover img { height: 100%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: normal; background: #fff;
    border-radius: 3px; box-shadow: 0 2px 8px rgba(12, 35, 64, .18); }
.d-co-docs { display: flex; flex-wrap: wrap; gap: 12px; }
.d-co-doc { min-height: 52px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--d-line-2); color: var(--d-text) !important; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.d-co-doc svg { color: var(--d-blue); flex-shrink: 0; }
.d-co-doc > span { display: flex; flex-direction: column; line-height: 1.3; }
.d-co-doc strong { font-weight: 600; }
.d-co-doc .d-muted { font-size: 12px; }
.d-co-doc:hover { border-color: var(--d-blue); }
/* the enquiry form: two columns (name and email first), the dialling code joined to the number, focus in the expo's colours */
.d-co-enquiry-head { display: flex; align-items: flex-start; gap: 14px; }
.d-co-enquiry-head p { margin: 4px 0 0; }
.d-co-enquiry-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: var(--x-bg, #EEF4FA); color: var(--x-fg, var(--d-blue)); }
.d-co-enquiry-go { align-self: flex-start; }
.d-co-form { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.d-co-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.d-co-wide { grid-column: 1 / -1; }
.d-co-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.d-co-label { font-size: 14px; font-weight: 600; color: var(--d-text-2); }
.d-co-opt { font-size: 13px; font-weight: 400; color: var(--d-text-3); }
.d-co-form input[type="text"], .d-co-form input[type="email"], .d-co-form textarea, .d-tel {
    width: 100%; min-width: 0; border-radius: 10px; border: 1px solid var(--d-line-2); background: #fff; transition: border-color .15s, box-shadow .15s; }
.d-co-form input[type="text"], .d-co-form input[type="email"] { height: 46px; padding: 0 14px; font-weight: 400; }
.d-co-form textarea { font: inherit; color: inherit; min-height: 116px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.d-co-form ::placeholder { color: #98A2B3; opacity: 1; }
.d-co-form input[type="text"]:hover, .d-co-form input[type="email"]:hover, .d-co-form textarea:hover, .d-tel:hover { border-color: var(--d-line-3); }
.d-co-form input[type="text"]:focus, .d-co-form input[type="email"]:focus, .d-co-form textarea:focus, .d-tel:focus-within {
    outline: none; border-color: var(--x-solid, var(--d-blue)); box-shadow: 0 0 0 3px var(--x-bg, #E6F0F8); }
.d-tel { display: flex; align-items: stretch; height: 46px; }
.d-tel input[type="tel"] { flex: 1; min-width: 0; border: 0; border-radius: 0 9px 9px 0; padding: 0 14px; background: transparent; font-weight: 400; }
.d-tel input[type="tel"]:focus { outline: none; }
.d-co-send { display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; }
.d-co-send .d-btn { min-height: 48px; padding: 0 28px; }
.d-co-safe { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--d-text-3); }
.d-co-safe svg { flex-shrink: 0; }
.d-done { border-radius: 12px; background: #E4F4EA; color: #0C5C2C; padding: 16px 18px; font-weight: 600; }
.d-dial { position: relative; flex-shrink: 0; display: flex; }
.d-dial-btn { align-self: stretch; display: flex; align-items: center; gap: 6px; border: 0; border-right: 1px solid var(--d-line); border-radius: 9px 0 0 9px;
    background: var(--d-soft); padding: 0 10px 0 12px; cursor: pointer; font-weight: 600; color: var(--d-text-2); }
.d-dial-btn:hover { background: #E9ECF1; }
.d-dial-btn:focus-visible { outline: 2px solid var(--d-sky); outline-offset: -2px; }
.d-dial-btn img { border-radius: 2px; }
.d-dial-caret { color: var(--d-text-3); }
.d-dial-menu { position: absolute; z-index: 15; top: 50px; left: 0; width: 280px; background: #fff; border: 1px solid var(--d-line-2); border-radius: 10px; box-shadow: 0 12px 32px rgba(12, 35, 64, .18); padding: 8px; }
.d-dial-menu input { width: 100%; height: 40px; border-radius: 8px; border: 1px solid var(--d-line-3); padding: 0 10px; margin-bottom: 6px; font-weight: 400; }
.d-dial-list { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; }
.d-dial-list button { display: flex; align-items: center; gap: 8px; border: 0; background: none; text-align: left; padding: 8px; border-radius: 6px; cursor: pointer; font-weight: 400; font-size: 14px; }
.d-dial-list button:hover, .d-dial-list button.is-hi, .d-dial-list button[aria-selected="true"] { background: #EEF4FA; }
.d-dial-list .n { flex: 1; min-width: 0; }
.d-dial-list .c { color: var(--d-text-3); }
.d-co-where { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.d-co-stand { font-family: var(--d-display); font-size: 40px; font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.d-co-where > span:last-child:not(.d-co-stand) { font-size: 16px; color: var(--d-text-3); }
.d-co-link { min-height: 48px; border-radius: 10px; border: 1px solid var(--d-line-2); display: flex; align-items: center; gap: 10px; padding: 8px 14px; text-decoration: none; color: var(--d-text) !important; font-weight: 600; }
.d-co-link svg { color: var(--d-blue); flex-shrink: 0; }
.d-co-link .d-muted { display: block; font-weight: 400; font-size: 13px; overflow-wrap: anywhere; }
.d-co-link:hover { border-color: var(--d-blue); }
.d-co-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.d-co-socials a { flex: 1 1 110px; min-height: 44px; border-radius: 10px; border: 1px solid var(--d-line-2); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--d-text) !important; font-weight: 600; font-size: 14px; }
.d-co-socials a:hover { border-color: var(--d-blue); }
.d-co-share { flex-direction: row; align-items: center; gap: 16px; }
.d-co-qr { width: 108px; height: 108px; flex-shrink: 0; }
.d-co-qr svg { width: 100%; height: 100%; display: block; }
.d-co-share-text { display: flex; flex-direction: column; gap: 6px; }
.d-co-share-text h2 { font-size: 18px; }
.d-co-share-text p { margin: 0; }
.d-co-sharebtns { display: flex; gap: 14px; font-size: 14px; font-weight: 600; }
.d-co-sharebtns a { text-decoration: none; }
.d-viewer, .d-player { border: 0; padding: 0; border-radius: 14px; background: #fff; width: min(920px, 94vw); max-height: 94vh; overflow: hidden; }
.d-viewer::backdrop, .d-player::backdrop { background: rgba(12, 35, 64, .8); }
.d-viewer-head { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--d-line); font-weight: 600; }
.d-viewer-head > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-viewer-head a { font-size: 14px; text-decoration: none; }
.d-viewer-stage { position: relative; display: flex; align-items: center; justify-content: center; background: #F2F4F7; min-height: 300px; }
.d-viewer-stage img { max-width: 100%; max-height: 78vh; display: block; }
.d-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); font-size: 30px; }
.js-viewer-prev { left: 10px; }
.js-viewer-next { right: 10px; }
.d-player-slot iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.d-player.is-portrait { width: min(420px, 94vw); }
.d-player.is-portrait .d-player-slot iframe { aspect-ratio: 9 / 16; max-height: 80vh; }

/*
 * The hall map (directory/map.blade.php, public/js/hall-map.js): the tools beside the map, the map drawn to scale
 * (.fp-svg: halls, features, stands .st), the PDF fallback (.js-pdf), and every stand hall by hall (.stall).
 */
.d-map-page { display: flex; flex-direction: column; gap: 20px; padding-top: 20px; padding-bottom: 56px; }
.d-map-head h1 { margin: 0; font-family: var(--d-display); font-size: 32px; }
.d-map-head p { margin: 4px 0 0; }
.d-map-layout { display: flex; gap: 20px; align-items: flex-start; }
.d-map-side { flex: 0 0 300px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
.d-map-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--d-line); border-radius: 16px; padding: 14px; }
.d-hall-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.d-hall-tabs button { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--d-line-2); background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.d-hall-tabs button span { font-weight: 500; color: var(--d-text-3); }
.d-hall-tabs button[aria-pressed="true"] { background: var(--d-navy); border-color: var(--d-navy); color: #fff; }
.d-hall-tabs button[aria-pressed="true"] span { color: var(--d-on-navy); }
.d-map-find { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--d-line-3); border-radius: 10px; padding: 0 12px; height: 46px; color: var(--d-text-3); }
.d-map-find input { border: 0; outline: none; flex: 1; min-width: 0; height: 42px; font-size: 15px; background: transparent; color: var(--d-text); }
.d-sel { position: relative; background: #fff; border: 2px solid var(--d-navy); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.d-sel-close { position: absolute; top: 4px; right: 4px; }
.d-sel-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--d-text-3); }
.d-sel-where { display: flex; align-items: baseline; gap: 10px; }
.d-sel-where .d-stand { font-size: 28px; }
.d-sel-logo { max-width: 160px; height: 44px; object-fit: contain; align-self: flex-start; }
.d-sel-name { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.d-sel-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.d-sel-acts .d-btn { flex: 1 1 auto; min-height: 42px; }
.d-map-show { border: 1px solid var(--d-line); border-radius: 14px; background: #fff; margin: 0; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.d-map-show legend { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--d-text-3); padding: 0 4px; }
.d-map-show label { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 34px; cursor: pointer; }
.d-map-show input { width: 20px; height: 20px; margin: 0; accent-color: var(--d-blue); }
.d-key { width: 18px; height: 12px; border-radius: 3px; margin-left: auto; }
.d-key-saved { border: 3px solid var(--d-heart); }
.d-key-featured { background: #FCE7B2; border: 2px solid #C9871A; }
.d-route { border: 1px solid var(--d-line); border-radius: 14px; background: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.d-route h2 { margin: 0; font-size: 16px; }
.d-route ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.d-route button, .d-route a { width: 100%; display: flex; gap: 10px; align-items: baseline; text-align: left; border: 1px solid var(--d-line); border-radius: 10px; background: #fff; padding: 8px 10px; cursor: pointer; font-size: 14px; color: var(--d-text) !important; text-decoration: none; }
.d-route button:hover, .d-route a:hover { border-color: var(--d-blue); }
.d-route .d-stand { min-width: 56px; }
.d-map-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-map-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--d-text-2); }
.d-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.d-sw { display: inline-block; width: 14px; height: 14px; border-radius: 3px; border: 1px solid #64748B; }
.sw-glass { background: #CFE3F5; } .sw-doors { background: #CDE7D6; } .sw-aluminium { background: #F4CACC; } .sw-walls { background: #EADCCB; }
.sw-free { background: #fff; border-style: dashed; }
.sw-saved { background: #fff; border: 3px solid var(--d-heart); }
.sw-featured { background: #FCE7B2; border: 2px solid #C9871A; }
.d-map-tools { display: flex; gap: 6px; }
.d-tool { min-width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--d-line-2); background: #fff; color: var(--d-text) !important; font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.d-tool-text { font-size: 14px; font-weight: 600; padding: 0 12px; }
.d-tool:hover { border-color: var(--d-blue); }
.d-map-note { background: var(--d-gold-bg); color: var(--d-gold-fg); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; }
.d-map-view { position: relative; height: min(76vh, 860px); min-height: 380px; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; background: #F1F5F9; touch-action: none; user-select: none; -webkit-user-select: none; }
.d-map-help { margin: 0; font-size: 13px; }
.fp-svg { display: block; width: 100%; height: 100%; cursor: grab; }
.fp-svg.dragging { cursor: grabbing; }
.fp-svg text { font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; pointer-events: none; }
.fp-outline { fill: #fff; stroke: #94A3B8; stroke-width: .35; }
.fp-hall-name { font-weight: 700; fill: #334155; }
.fp-feat rect { fill: #E2E8F0; stroke: #94A3B8; stroke-width: .08; }
.fp-feat text { fill: #475569; font-weight: 600; }
.fp-feat.k-entry rect, .fp-feat.k-exit rect, .fp-feat.k-entry-exit rect { fill: #86EFAC; stroke: #16A34A; }
.fp-feat.k-emergency-exit rect { fill: #FECACA; stroke: #DC2626; }
.fp-feat.k-fire-point rect { fill: #FEF3C7; stroke: #D97706; }
.hide-facilities .fp-feat { display: none; }
.st rect.box { stroke: #475569; stroke-width: .08; }
.st.free rect.box { fill: #fff; stroke: #94A3B8; stroke-dasharray: .45 .3; }
.st.glass rect.box { fill: #CFE3F5; } .st.doors rect.box { fill: #CDE7D6; } .st.aluminium rect.box { fill: #F4CACC; } .st.walls rect.box { fill: #EADCCB; }
.st text { fill: #0F172A; }
.st .code { font-weight: 700; }
.st.free text { fill: #64748B; }
.st rect.logo-bg { fill: #fff; stroke: none; }
.st.featured rect.box { fill: #FCE7B2; stroke: #C9871A; stroke-width: .3; }
.hide-featured .st.featured.glass rect.box { fill: #CFE3F5; } .hide-featured .st.featured.doors rect.box { fill: #CDE7D6; }
.hide-featured .st.featured.aluminium rect.box { fill: #F4CACC; } .hide-featured .st.featured.walls rect.box { fill: #EADCCB; }
.hide-featured .st.featured rect.box { stroke: #475569; stroke-width: .08; }
.st.saved rect.box { stroke: var(--d-heart); stroke-width: .55; }
.hide-saved .st.saved rect.box { stroke: #475569; stroke-width: .08; }
.d-map-view.searching .st { opacity: .22; }
.d-map-view.searching .st.match { opacity: 1; }
.st.match rect.box { fill: #FDE68A; stroke: #B45309; stroke-width: .3; }
.st.sel rect.box, .st.lit rect.box { stroke: #E11D48; stroke-width: .6; }
.st.lit rect.box { animation: fp-lit 1.2s ease-in-out infinite; }
@keyframes fp-lit { 50% { stroke-width: 1.4; } }
.d-map-pdf { position: relative; overflow: auto; max-height: 76vh; border: 1px solid #E9ECEF; border-radius: 12px; background: #fff; }
.d-map-pdf .plan-stage { position: relative; width: 100%; }
.d-map-pdf canvas { display: block; width: 100%; height: auto; }
.d-map-pdf .plan-spots { position: absolute; inset: 0; }
.d-map-pdf .spot { position: absolute; border-radius: 3px; }
.d-map-pdf a.spot:hover, .d-map-pdf a.spot:focus-visible { background: rgba(0, 90, 150, .18); outline: 2px solid var(--d-blue); }
.d-map-pdf .spot.match { background: rgba(0, 90, 150, .28); outline: 2px solid var(--d-blue); }
.d-map-pdf .spot.lit { background: rgba(225, 29, 72, .2); outline: 3px solid #E11D48; }
.d-map-pdf .plan-msg { padding: 32px 12px; text-align: center; color: var(--d-text-3); }
.d-stall-list .d-hall { display: flex; flex-direction: column; gap: 10px; }
.d-stall-list .d-hall + .d-hall { margin-top: 10px; }
.d-stall-list h3 { margin: 0; font-size: 17px; }
.stalls { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 8px; }
.stall { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 8px 8px 8px 12px; border: 1px solid var(--d-line-2); border-radius: 8px; background: #fff; color: var(--d-text) !important; text-decoration: none; font-size: 12px; line-height: 1.25; overflow: hidden; }
.stall::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--x-solid); }
.stall b { font-size: 13px; }
.stall span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stall .logo { display: block; width: 100%; height: 28px; object-fit: contain; margin-bottom: 2px; }
.stall:hover, .stall:focus-visible { border-color: var(--d-blue); }
.stall.featured { background: #FFF8E6; border-color: #E0A33A; }
.stall.saved { box-shadow: inset 0 0 0 2px var(--d-heart); }
.stall.match { background: #FDE68A; border-color: #B45309; }
.stall.dim { opacity: .35; }

/*
 * The phone app (the redesign's phone screens): the home's four ways in and the next stands on the route
 * (explore.blade.php, .d-phone-home), the tabs at the foot of every page (layout, .d-tabbar), and the stand QR
 * scanner (.d-scanner). The home and the tabs show at phone width only.
 */
.d-phone-home, .d-tabbar { display: none; }
.d-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.d-quick-tile { min-height: 76px; text-align: left; color: var(--d-text) !important; background: #fff; border: 1px solid var(--d-line); border-radius: 14px; padding: 12px 14px;
    display: flex; flex-direction: column; justify-content: center; gap: 4px; text-decoration: none; cursor: pointer; }
.d-quick-tile strong { font-size: 16px; }
.d-quick-tile span { font-size: 13px; color: var(--d-text-3); }
.d-quick-tile.is-scan { background: var(--d-blue); border-color: var(--d-blue); color: #fff !important; }
.d-quick-tile.is-scan span { color: #E3F0FA; }
.d-next { margin-top: 12px; background: #fff; border: 1px solid var(--d-line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.d-next-head { display: flex; justify-content: space-between; align-items: baseline; }
.d-next-head h2 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--d-text-3); }
.d-next-head a { font-size: 14px; font-weight: 600; text-decoration: none; }
.d-next ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.d-next li + li { border-top: 1px solid #EEF0F3; }
.d-next li a { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; color: var(--d-text) !important; text-decoration: none; font-size: 15px; }
.d-next .d-stand { min-width: 52px; }
.d-next-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-tabbar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--d-line);
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(12, 35, 64, .06); }
.d-tabbar a, .d-tabbar button { position: relative; min-height: 56px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; font-size: 12px; font-weight: 600; color: var(--d-text-3) !important; text-decoration: none; cursor: pointer; padding: 6px 2px; }
.d-tabbar [aria-current="page"] { color: var(--d-blue) !important; }
.d-tabbar [aria-current="page"]::before { content: ''; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--d-blue); }
.d-tabbar .d-count { position: absolute; top: 4px; left: calc(50% + 6px); font-size: 10px; padding: 1px 6px; min-width: 18px; background: var(--d-heart); color: #fff; }
.d-scanner { border: 0; padding: 0; border-radius: 16px; background: #fff; width: min(480px, 96vw); max-height: 96vh; overflow-y: auto; }
.d-scanner::backdrop { background: rgba(12, 35, 64, .85); }
.d-scan-stage { position: relative; height: min(56vh, 420px); background: #101828; overflow: hidden; }
.d-scan-stage video { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-scan-frame { position: absolute; top: 50%; left: 50%; width: min(62vw, 240px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 18px; box-shadow: 0 0 0 2000px rgba(16, 24, 40, .35); }
.d-scan-hint { position: absolute; left: 12px; right: 12px; bottom: 12px; margin: 0; text-align: center; color: #fff; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.d-scan-result { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.d-scan-result .d-row { flex-wrap: wrap; }
.d-scan-result .d-done, .d-scan-result .d-msg { margin: 0; }
.d-scan-note { margin: 0; padding: 12px 16px 16px; font-size: 13px; }

/* footer */
.d-footer { border-top: 1px solid var(--d-line); background: #fff; }
.d-footer-in { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; color: var(--d-text-3); }
.d-footer-links { display: flex; gap: 20px; }

/*
 * My planner (directory/planner.blade.php, public/js/planner.js): the visit plan, stand by stand in walking order.
 */
.d-planner { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; padding-bottom: 56px; }
.d-plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.d-plan-head h1 { margin: 0; font-family: var(--d-display); font-size: 40px; line-height: 1.1; }
.d-plan-head p { margin: 6px 0 0; font-size: 16px; }
.d-plan-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.d-plan-acts .d-btn { min-height: 46px; }
.d-note-soft { background: #EEF4FA; color: var(--d-navy); border-color: #C9DCEE; font-weight: 500; }
.d-plan-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.d-plan-stats > div { background: #fff; border: 1px solid var(--d-line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.d-plan-stats strong { font-family: var(--d-display); font-size: 34px; line-height: 1.1; }
.d-plan-stats span { color: var(--d-text-3); }
.d-plan-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.d-plan-main { flex: 999 1 600px; min-width: 0; }
.d-plan-main-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.d-plan-main-head a { font-weight: 600; text-decoration: none; }
.d-plan-side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.d-plan-group { display: flex; flex-direction: column; gap: 10px; }
.d-plan-group + .d-plan-group { margin-top: 10px; }
.d-plan-group h3 { margin: 4px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--d-text-3); }
.d-plan-item { position: relative; display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--d-line); border-radius: 12px; padding: 14px 14px 14px 18px; background: #fff; overflow: hidden; }
.d-plan-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--x-solid, var(--d-line-3)); }
.d-plan-item.is-visited { background: #F3FAF5; border-color: #B7DEC4; }
.d-plan-item.is-visited .d-plan-name { text-decoration: line-through; color: var(--d-text-3) !important; }
.d-plan-item.is-gone { background: var(--d-soft); }
.d-plan-tick { width: 22px; height: 22px; margin: 4px 0 0; accent-color: #0F6E35; flex-shrink: 0; }
.d-plan-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.d-plan-top { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.d-plan-code { font-size: 20px; }
.d-plan-name { font-weight: 700; font-size: 16px; color: var(--d-text) !important; text-decoration: none; overflow-wrap: anywhere; }
.d-plan-name:hover { color: var(--d-blue) !important; }
.d-plan-note { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--d-text-3); }
.d-plan-note input { height: 40px; border-radius: 8px; border: 1px solid var(--d-line-2); padding: 0 10px; font-size: 14px; color: var(--d-text); background: #fff; }
.d-plan-itemacts { display: flex; flex-direction: column; gap: 6px; }
.d-plan-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.d-plan-mini li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.d-plan-mini .d-stand { min-width: 56px; }
.d-plan-shared { border-color: var(--d-blue); }
.d-plan-recs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.d-plan-rec { display: flex; gap: 12px; align-items: center; border-top: 1px solid #EEF0F3; padding: 12px 0; }
.d-plan-rec-logo { width: 52px; height: 52px; border-radius: 10px; background: var(--x-bg, var(--d-soft)); color: var(--x-fg, var(--d-text-2)); display: flex; align-items: center; justify-content: center; font-family: var(--d-display); font-weight: 700; flex-shrink: 0; overflow: hidden; }
.d-plan-rec-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.d-plan-rec-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.d-plan-rec-text a { font-weight: 700; color: var(--d-text) !important; text-decoration: none; }
.d-plan-rec-text .d-muted { font-size: 13px; }
.d-plan-rec-save { min-height: 40px; padding: 0 12px; }
.d-plan-mail { display: flex; flex-direction: column; gap: 8px; }

/* small shared pieces: controls side by side, the message under a form, a tick box with its words */
.d-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.d-row > input { flex: 1 1 200px; min-width: 0; }
.d-msg { font-size: 14px; color: var(--d-text-2); }
.d-msg:empty { display: none; }
.d-msg.is-ok { color: var(--d-ok); font-weight: 600; }
.d-msg.is-bad { color: var(--d-bad); font-weight: 600; }
.d-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--d-text-2); cursor: pointer; }
.d-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.d-plan-mail input[type="email"], .d-sync input[type="email"], .d-sync input[type="text"] {
    height: 46px; border-radius: 8px; border: 1px solid var(--d-line-3); padding: 0 12px; background: #fff; color: var(--d-text); font: inherit; font-size: 16px; }

/* My planner's "Sign in with email": the plan kept for the visitor, on all their devices */
.d-sync { display: flex; flex-direction: column; gap: 12px; background: #EEF4FA; border: 1px solid #C9DCEE; border-radius: 14px; padding: 16px 20px; color: var(--d-navy); }
.d-sync.is-in { background: #E4F4EA; border-color: #A6D9B8; color: #0C5C2C; }
.d-sync-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.d-sync-head h2 { margin: 0; font-size: 17px; line-height: 1.3; }
.d-sync-head p { margin: 2px 0 0; font-size: 15px; }
.d-sync-form { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.d-sync-form label { font-weight: 600; font-size: 14px; }
.d-sync-form .d-muted { margin: 0; }
.d-row > input.d-sync-digits { flex: 0 1 190px; letter-spacing: .3em; font-weight: 600; font-variant-numeric: tabular-nums; }
.d-sync-links { gap: 20px; }
.d-sync.is-in .d-link { color: #0C5C2C; }
/* ... and its link in the header */
.d-nav .d-nav-sign { border: 1px solid var(--d-navy-line); margin-left: 4px; }
.d-nav .d-nav-sign.is-in { border-color: transparent; color: var(--d-on-navy) !important; }
.d-nav-sign svg { vertical-align: -3px; margin-right: 6px; }

/* a Showcase page at full size */
.d-lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 760px); max-height: 94vh; overflow: visible; }
.d-lightbox::backdrop { background: rgba(12, 35, 64, .8); }
.d-lightbox img { display: block; max-width: 100%; max-height: 84vh; margin: 0 auto; border-radius: 8px; background: #fff; }
.d-lightbox-close { position: absolute; top: -8px; right: -8px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.d-lightbox-cap { text-align: center; padding: 10px; color: #fff; font-weight: 600; }
.d-lightbox-cap a { color: #fff !important; }

/* tablet and phone */
@media (max-width: 960px) {
    .d-only-phone { display: inline-flex !important; }
    /* the hall map: the map first, the tools under it; the stand picked is a sheet over the map's foot */
    .d-map-layout { flex-direction: column-reverse; }
    .d-map-side { flex: none; width: 100%; position: static; max-height: none; overflow: visible; }
    .d-map-main { width: 100%; padding: 10px; }
    .d-map-view { height: 64vh; min-height: 320px; }
    .d-sel:not([hidden]) { position: fixed; z-index: 25; left: 8px; right: 8px; bottom: 8px; max-height: 50vh; overflow-y: auto; box-shadow: 0 16px 40px rgba(12, 35, 64, .3); }
    .d-filters { display: none; position: fixed; inset: 0 0 0 auto; width: min(360px, 92vw); max-width: none; max-height: none; border-radius: 0; z-index: 30; box-shadow: -12px 0 40px rgba(12, 35, 64, .25); }
    .d-results.is-sheet-open .d-filters { display: flex; }
    .d-results.is-sheet-open::before { content: ''; position: fixed; inset: 0; background: rgba(12, 35, 64, .45); z-index: 29; }
}
@media (max-width: 720px) {
    .d-wrap { padding-left: 16px; padding-right: 16px; }
    /* the phone app: its tabs replace the header's menu, and the home starts with four ways in */
    .d-tabbar { display: grid; }
    .d-body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .d-nav { display: none; }
    .d-phone-home { display: block; }
    /* the home's heading stays for screen readers; the phone shows the event, the search and the four ways in */
    .d-hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .d-hero-sub { font-size: 14px; }
    .d-sel:not([hidden]) { bottom: calc(72px + env(safe-area-inset-bottom)); }
    .d-topbar { gap: 10px 14px; }
    .d-brand img { height: 22px; }
    .d-brand-line { height: 20px; }
    .d-nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .d-nav a, .d-nav button { padding: 8px 12px; white-space: nowrap; }
    .d-edition { width: 100%; }
    .d-edition select { flex: 1; max-width: none; }
    .d-hero { padding-top: 12px; padding-bottom: 24px; }
    .d-hero h1 { font-size: 28px; }
    .d-hero-sub { font-size: 15px; }
    .d-search { gap: 8px; }
    .d-search-box { height: 52px; padding: 0 12px; }
    .d-search-box input { font-size: 16px; height: 48px; }
    .d-search-go { height: 52px; padding: 0 16px; }
    .d-suggest { top: 60px; }
    .d-suggest-kind { width: 64px; font-size: 11px; }
    .d-stack { gap: 24px; padding-top: 20px; }
    .d-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .d-tile { padding: 12px 14px; }
    .d-tile-logo { height: 28px; }
    .d-tile-name { font-size: 16px; }
    .d-section-head h2 { font-size: 20px; }
    .d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .d-card { padding: 0 10px 10px; gap: 8px; }
    .d-card::before { margin: 0 -10px; }
    .d-card-head { min-height: 40px; }
    .d-card-expo { font-size: 11px; padding: 3px 8px 3px 6px; max-width: calc(100% - 46px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
    .d-card-expo .d-dot { display: inline-block; vertical-align: middle; margin-right: 4px; }
    .d-save { width: 40px; height: 40px; }
    .d-card-logo { height: 72px; padding: 8px 10px; }
    .d-card-name { font-size: 15px; }
    .d-card-about { display: none; }
    .d-card-facts { font-size: 13px; }
    .d-card-facts li:nth-child(2) { display: none; }
    .d-chip { font-size: 11px; padding: 3px 8px; }
    .d-card-foot { padding-top: 10px; gap: 6px; }
    .d-card-view { min-height: 40px; padding: 0 8px; font-size: 13px; }
    .d-card-map { min-height: 40px; width: 40px; padding: 0; justify-content: center; flex-shrink: 0; }
    .d-card-map-text { display: none; }
    .d-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .d-pcard-body { padding: 10px; }
    .d-company { gap: 14px; padding-top: 14px; }
    .d-panel { padding: 18px 16px; border-radius: 14px; }
    .d-panel h2 { font-size: 19px; }
    .d-co-hero { padding: 20px 16px; gap: 16px; }
    .d-co-logo { width: 104px; height: 80px; }
    .d-co-title h1 { font-size: 26px; }
    .d-co-facts { font-size: 15px; gap: 4px 14px; }
    .d-co-actions { width: 100%; }
    .d-co-actions .d-btn { flex: 1 1 auto; }
    .d-co-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .d-co-pbody { padding: 10px; }
    .d-co-ptext { -webkit-line-clamp: 3; }
    .d-co-side { position: static; }
    .d-co-stand { font-size: 32px; }
    .d-co-enquiry-icon { width: 40px; height: 40px; border-radius: 10px; }
    .d-co-brochure { flex-direction: column; gap: 14px; }
    .d-co-cover { width: min(72vw, 300px); }
    .d-co-page img { height: 120px; }
    .d-co-fields { grid-template-columns: 1fr; gap: 14px; }
    .d-co-send .d-btn { width: 100%; }
    .d-plan-head h1 { font-size: 30px; }
    .d-plan-acts .d-btn { flex: 1 1 calc(50% - 10px); min-height: 44px; padding: 0 10px; font-size: 14px; }
    .d-plan-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .d-plan-stats > div { padding: 12px; }
    .d-plan-stats strong { font-size: 26px; }
    .d-plan-stats span { font-size: 13px; }
    .d-plan-item { flex-wrap: wrap; gap: 10px; padding: 12px 12px 12px 16px; }
    .d-plan-text { flex: 1 1 calc(100% - 40px); }
    .d-plan-itemacts { flex-direction: row; width: 100%; padding-left: 32px; }
    .d-tabs a { padding: 0 12px; font-size: 15px; }
    .d-toolbar-right { width: 100%; justify-content: space-between; }
}
@media (max-width: 340px) {
    .d-grid, .d-pgrid { grid-template-columns: 1fr; }
}

/* printing My planner (Print or save as PDF): the list alone */
@media print {
    @page { margin: 12mm; }
    .d-header, .d-footer, .d-plan-acts, .d-plan-side, .js-shared, .d-note, .d-sync, .d-plan-itemacts, .d-plan-main-head a { display: none !important; }
    .d-body { background: #fff; }
    .d-plan-item { break-inside: avoid; }
    .d-plan-note input { border: 0; padding: 0; height: auto; }
    .d-map-side, .d-map-tools, .d-map-help { display: none !important; }
}

