/* explore.css — the interactive hero floor plan (app-kit). Builds on the floorplan module's styles.
   Local classes use the ex- prefix. Animation is transform/opacity only. */
@import url('../floorplan/floorplan.css');

.app-kit.fp.ex { user-select: none; }
.ex button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
.ex :focus { outline: none; }
.ex button:focus-visible { outline: 2.5px solid var(--ak-primary); outline-offset: 2px; }

/* ── day tabs ─────────────────────────────────────────────────────── */
.ex-days { display: flex; align-items: stretch; gap: 4px; height: 52px; padding: 6px 12px; background: #fff; border-bottom: 1px solid #e6ebf0; }
.ex-rng { display: flex; align-items: center; padding: 0 10px 0 4px; color: var(--ak-today); font-weight: 700; font-size: 13px; white-space: nowrap; }
.ex-day { flex: 1 1 0; min-width: 0; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 9px !important; font-family: var(--ak-font-cond) !important; font-size: 12.5px !important; font-weight: 700 !important; letter-spacing: .4px; color: #4a5d72 !important; white-space: nowrap; }
.ex-day:hover { background: #f1f5f9 !important; }
.ex-day:hover { background: transparent !important; }
.ex-day:hover .ex-day-l { background: #f1f5f9; }
.ex-day-l { padding: 3px 9px; border-radius: 999px; }
.ex-day.today .ex-day-l { color: var(--ak-today-ink); }
/* selected (not today): navy text on a 9% navy pill with a navy underline */
.ex-day.on .ex-day-l { background: var(--ak-day-selected-bg); color: var(--ak-navy); box-shadow: inset 0 -2px 0 var(--ak-navy); }
/* today selected: one blush pill, red ink, red underline */
.ex-day.on.today .ex-day-l, .ex-day.today:hover .ex-day-l { background: var(--ak-today-blush); color: var(--ak-today-ink); }
.ex-day.on.today .ex-day-l { box-shadow: inset 0 -2px 0 var(--ak-today-ink); }
/* the app's "● <Team> day" chip, team-day accent */
.ex-day-td { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 1px 7px; border-radius: 999px; background: rgba(105, 85, 148, .1); font-family: var(--ak-font); font-size: 10.5px; font-weight: 700; letter-spacing: 0; color: var(--ak-teamday); overflow: hidden; }
.ex-day-td span { overflow: hidden; text-overflow: ellipsis; }
.ex-day-td i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ak-teamday); }
.ex-todaylink { display: flex !important; align-items: center; padding: 0 8px !important; font-family: var(--ak-font-cond) !important; font-size: 11.5px !important; font-weight: 700 !important; letter-spacing: .5px; text-transform: uppercase; color: var(--ak-today-ink) !important; }
.ex-todaylink.off { visibility: hidden; }

/* ── bar ──────────────────────────────────────────────────────────── */
.ex-slot { display: flex; align-items: center; min-width: 0; }
.ex-hint { display: none; position: relative; display: inline-flex !important; align-items: center; gap: 7px; height: 38px; padding: 0 14px !important; border-radius: 12px !important; background: var(--akfp-teal) !important; color: #fff !important; font-weight: 700 !important; font-size: 13.5px !important; white-space: nowrap; box-shadow: 0 2px 8px rgba(31, 106, 149, .25); }
.ex-hint svg { width: 15px; height: 15px; flex: none; }
.ex-hint::after { content: ''; position: absolute; inset: -1px; border-radius: 13px; box-shadow: 0 0 0 2px var(--akfp-teal); opacity: 0; pointer-events: none; }
.ex-hint.pulse::after { animation: ex-ring 2.2s var(--ak-ease) infinite; }
@keyframes ex-ring { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.12, 1.35); } }
.ex-hint:hover { filter: brightness(1.08); }
.ex-sg .fp-ctl { gap: 2px; }
.ex-sg .fp-sg-chip { cursor: pointer; }
.ex-sg .fp-sg-chip:hover { background: #e3ebf3; }
.ex-drop .fp-sg-row { width: 100%; text-align: left; cursor: pointer; }
.ex-drop .fp-sg-row:hover { background: #f0f4f8; }
.ex-booked { padding: 0 12px 0 4px; gap: 8px; color: var(--ak-navy); }
.ex-booked b { font-size: 14px; }
.ex-booked-tile { width: 30px; height: 30px; border-radius: 8px; background: var(--ak-office); display: grid; place-items: center; }
.ex-booked-tile svg { width: 15px; height: 15px; color: #fff; }

/* LIST | PLAN · Old Street 48 free ▾ (LIST/PLAN are shown, not wired: the hero is the plan) */
.ex-lpp { padding: 3px 10px 3px 3px; gap: 4px; }
.ex-lp { display: inline-flex; align-items: center; gap: 2px; }
.ex-lp-s { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 9px; font-family: var(--ak-font-cond); font-weight: 700; font-size: 12.5px; letter-spacing: .3px; text-transform: uppercase; color: var(--ak-navy); }
.ex-lp-s.on { background: var(--ak-navy); color: #fff; }
.ex-lp-s svg { width: 13px; height: 13px; }
.ex-place { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; font-weight: 600; color: var(--akfp-ctrl-ink); }
.ex-place svg { width: 15px; height: 15px; color: var(--ak-office); flex: none; }
.ex-place em { font-style: normal; font-family: var(--ak-font-cond); font-weight: 700; color: var(--ak-office); font-variant-numeric: tabular-nums; }
.ex-place .car { width: 13px; height: 13px; color: #6f8195; }
/* Suggested · 3-xx ▾ and the Why popover */
.ex-sg .fp-sg-chip { font-weight: 500; background: #edf2f7 !important; padding: 0 12px !important; height: 30px; border-radius: 9px !important; }
.ex-sg .fp-sg-more { width: 26px; height: 30px; display: grid !important; place-items: center; }
.ex-why { width: 300px; gap: 10px; padding: 12px 14px; }
.ex-why p { margin: 0; font-size: 13.5px; line-height: 1.35; }
.ex-why-a { color: var(--ak-ink-2); }
.ex-why-b { color: var(--ak-navy); }
/* desk card (free desk): title, place, Releases …, CANCEL / navy Move here */
.ex-dcard { width: 280px; padding: 14px 14px 12px; }
.ex-dglyph { width: 26px; height: 26px; flex: none; border-radius: 4px; border: 1.5px solid #c9d3dd; background: linear-gradient(#c9d3dd, #c9d3dd) 50% 72% / 60% 2px no-repeat, #fff; }
.ex-dc-b { margin-top: 10px; padding-top: 10px; border-top: 1px solid #eef2f6; font-size: 13px; color: var(--ak-ink-2); }
.ex-dc-act { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 12px; }
.ex-dc-cancel { height: 36px; padding: 0 12px !important; font-family: var(--ak-font-cond) !important; font-weight: 700 !important; font-size: 13px !important; letter-spacing: .5px; text-transform: uppercase; color: #4a5d72 !important; border-radius: 8px !important; }
.ex-dc-move { height: 36px; padding: 0 16px !important; border-radius: 8px !important; background: var(--ak-navy) !important; color: #fff !important; font-weight: 700 !important; font-size: 14px !important; }
.ex-dc-move:hover { filter: brightness(1.15); }

/* lens: the app's 3-part control, as real buttons (no dropdown carets here) */
.ex .ex-lens { width: auto; }
.ex .ex-lens .seg { flex: 0 0 auto !important; padding: 0 12px 0 10px; }
.ex .ex-lens .seg.every { padding: 0 14px; }
.ex .ex-lens .seg:hover:not(.on) { background: #f6f8fa; }
.ex .ex-lens .seg .nm { display: inline; }
.ex .ex-lens .seg .car { width: 16px; margin-left: 2px; }
/* with Everyone on, the app collapses to a plain "Favourites | Teams | Everyone" */
.ex .ex-lens.is-every .n, .ex .ex-lens.is-every .car, .ex .ex-lens.is-every .dot { display: none; }

/* ── stage ────────────────────────────────────────────────────────── */
.ex-stage { cursor: default; }
.ex-person { cursor: pointer; }
.ex-person .ex-focus, .ex-sugg .ex-focus { opacity: 0; }
.ex-person:focus-visible .ex-focus, .ex-sugg:focus-visible .ex-focus { opacity: 1; }
.ex-sugg, .ex-halo { cursor: pointer; }
.ex-finding .ex-desk { cursor: pointer; }
.ex-halo.glow { animation: ex-glow 1.6s ease-in-out infinite alternate; }
@keyframes ex-glow { from { opacity: .45; } to { opacity: 1; } }
.ex-net { pointer-events: none; }

.ex-td { position: absolute; z-index: 3; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; background: #fff; border: 1px solid var(--akfp-ctrl-border); border-radius: 999px; font-size: 13px; color: var(--ak-navy); white-space: nowrap; box-shadow: 0 4px 12px rgba(15, 41, 66, .08); pointer-events: none; }
.ex-td i { width: 8px; height: 8px; border-radius: 50%; }
.ex-td b { color: #5c328f; }
.ex-td span { color: var(--ak-ink-2); }
/* centred with margin, not transform, so the fade (translateY) can own transform */
.ex-td { left: 0; right: 0; margin: 0 auto; width: max-content; }

.ex-count { pointer-events: none; }
.ex-replay { position: absolute; z-index: 3; right: 10px; bottom: 10px; display: inline-flex !important; align-items: center; gap: 6px; height: 32px; padding: 0 12px !important; background: #fff !important; border: 1px solid var(--akfp-ctrl-border) !important; border-radius: 999px !important; color: var(--ak-navy) !important; font-size: 13px !important; font-weight: 600 !important; }
.ex-replay svg { width: 14px; height: 14px; }
.ex-replay:hover { background: #f6f8fa !important; }

.ex-card { width: 270px; }
.ex-card .fp-pop-h { align-items: center; }
.ex-card .fp-team { margin-top: 3px; font-size: 13px; }
.ex-x { display: grid !important; place-items: center; width: 28px; height: 28px; margin: -4px -4px 0 0 !important; border-radius: 8px !important; align-self: flex-start; }
.ex-x:hover { background: #f1f5f9 !important; }
.ex-net-key { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #eef2f6; font-size: 12.5px; color: var(--ak-ink-2); }
.ex-net-key span { display: flex; align-items: center; gap: 8px; }
.ex-net-key .ln { width: 16px; height: 0; border-top: 2px solid #5c328f; border-radius: 1px; }
.ex-net-key .ln.fav { border-top: 2px dashed #8a9bab; }

.ex-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── smaller panels (below 768 the card docks; below 560 things only need to not break) ── */
.ex-dock .ex-card.dock { width: auto; bottom: 50px; }
.fp-mid .ex-rng { display: none; }
.fp-narrow .ex-days { padding: 6px; gap: 2px; height: 46px; }
.fp-narrow .ex-rng { display: none; }
.fp-narrow .ex-day { font-size: 11px !important; letter-spacing: 0; }
.fp-narrow .ex-day-td span { display: none; }
.fp-narrow .ex .ex-lens, .fp-narrow.ex .ex-lens { width: 100%; }
.fp-narrow.ex .ex-lens .seg { flex: 1 1 auto !important; justify-content: center; padding: 0 6px; }
.fp-narrow.ex .ex-lens .seg .nm { display: none; }
.fp-narrow.ex .ex-lens .seg.every .nm { display: inline; }
.fp-narrow .ex-td { top: 8px; bottom: auto; height: 28px; font-size: 12px; }
.fp-narrow .ex-td span { display: none; }
.fp-narrow .ex-replay span { display: none; }
.fp-narrow .ex-replay { padding: 0 9px !important; }
.fp-narrow .ex-count { height: 28px; font-size: 12px; }
.fp-narrow .ex-lp-s span, .fp-mid .ex-lp-s span { display: none; }
.fp-narrow .ex-lp-s { padding: 0 9px; }
.fp-narrow .ex-place { margin-left: 4px; font-size: 12.5px; }
.fp-narrow .ex-lens .car { display: none; }
.fp-narrow .ex-why { width: 260px; }
.fp-narrow .fp-sg-chip { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

@media (prefers-reduced-motion: reduce) {
  .ex-hint.pulse::after, .ex-halo.glow { animation: none; }
}

/* ── phone width (r2): a compact two-row toolbar — [LIST|PLAN · Old Street n free ▾] [3-xx ▾] / [lens] ── */
.fp-narrow .ex-bar { padding: 8px; gap: 6px; }
.fp-narrow .ex-bar .fp-bar-l { flex-wrap: nowrap; gap: 6px; width: 100%; }
.fp-narrow .ex-bar .fp-bar-r { width: 100%; margin-left: 0; }
.fp-narrow .ex-bar .fp-ctl { height: 36px; }
.fp-narrow .ex-lpp { padding: 2px 8px 2px 2px; gap: 2px; min-width: 0; }
.fp-narrow .ex-lp-s { height: 30px; padding: 0 8px; }
.fp-narrow .ex-place { gap: 4px; margin-left: 4px; white-space: nowrap; }
.fp-narrow .ex-place > svg:first-child { display: none; }
.fp-narrow .ex-slot { flex: none; }
.fp-narrow .ex-sg-w { display: none; }
.fp-narrow .ex-sg .fp-sg-chip { padding: 0 9px !important; height: 30px; }
.fp-narrow .ex-sg .fp-sg-more { width: 22px; }
.fp-narrow .ex-why { left: auto; right: 0; }
