/* EVENT BUNDLES + PRODUCT COMPARISON (4 Dec 2026). Loaded only by fragments/tools/bundles.html and compare.html.
   Tokens come from eh-tool.css (.eh-tool). Rollback: /home/ianbird/functionality-build-20261204/bundles-comparison/ROLLBACK.sh */

/* Bundles */
body.eh-tool-page .eh-bnd-dates #set-dates-form { margin: 8px 0 0 !important; }
body.eh-tool-page .eh-bnd__avail { margin: 4px 0 16px; padding: 10px 14px; border-radius: 10px; background: #f4f6f2; color: var(--t-ink); font-weight: 600; }
body.eh-tool-page .eh-bnd__avail.is-ok { background: var(--t-g50); border-left: 4px solid var(--t-g7); }
body.eh-tool-page .eh-bnd__avail.is-short { background: #fff4e5; border-left: 4px solid #8a4b00; }
body.eh-tool-page .eh-bnd__form .eh-tc-field input[type="number"] { max-width: 9rem; }

/* Comparison */
body.eh-tool-page .eh-cmp__groups { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 12px; }
body.eh-tool-page .eh-cmp__groups a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--t-line); border-radius: 999px; color: var(--t-ink) !important; font-weight: 600; text-decoration: none; }
body.eh-tool-page .eh-cmp__groups a:hover { border-color: var(--t-g7); text-decoration: underline; }
body.eh-tool-page .eh-cmp__groups a:focus-visible { outline: 3px solid var(--t-g7); outline-offset: 2px; }
body.eh-tool-page .eh-cmp__groups a[aria-current="page"] { background: var(--t-ink); border-color: var(--t-ink); color: #fff !important; }
body.eh-tool-page .eh-cmp__form fieldset { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
body.eh-tool-page .eh-cmp__form legend { font-weight: 700; color: var(--t-ink); font-size: 1rem; margin-bottom: 8px; }
body.eh-tool-page .eh-cmp__choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 16px; }
body.eh-tool-page .eh-cmp__choice { display: flex; align-items: flex-start; gap: 8px; min-height: 32px; }
body.eh-tool-page .eh-cmp__choice input { width: 24px; height: 24px; margin-top: 1px; flex: 0 0 auto; }
body.eh-tool-page .eh-cmp__choice label { margin: 0; }
body.eh-tool-page .eh-cmp__table thead th { vertical-align: bottom; }
body.eh-tool-page .eh-cmp__table thead img { display: block; width: 96px; height: 96px; object-fit: contain; margin: 0 0 6px; mix-blend-mode: multiply; }
body.eh-tool-page .eh-cmp__table tbody th { width: 11rem; background: #fafbf9; color: var(--t-ink); }
body.eh-tool-page .eh-cmp__sub { display: block; font-weight: 400; font-size: .85rem; color: var(--t-muted); }
body.eh-tool-page .eh-cmp__table td.eh-cmp__ns { color: #545f58; font-style: italic; }
body.eh-tool-page .eh-bnd__total { font-weight: 600; color: var(--t-ink); }
/* Keep the attribute names in view while the comparison scrolls sideways on phones. */
body.eh-tool-page .eh-cmp__table tbody th[scope="row"], body.eh-tool-page .eh-cmp__table thead th:first-child { position: sticky; left: 0; z-index: 1; }
body.eh-tool-page .eh-cmp__table thead th:first-child { background: #f4f6f2; }
body.eh-tool-page .eh-cmp__form fieldset:focus { outline: 3px solid var(--t-g7); outline-offset: 4px; }
