/* USWDS `sans` role resolves to "Public Sans Web"; faces declared here so Vite fingerprints the files. */ @font-face { font-family: 'Public Sans Web'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/public-sans/PublicSans-Light.woff2') format('woff2'); } @font-face { font-family: 'Public Sans Web'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/public-sans/PublicSans-Regular.woff2') format('woff2'); } @font-face { font-family: 'Public Sans Web'; font-style: italic; font-weight: 400; font-display: swap; src: url('../assets/fonts/public-sans/PublicSans-Italic.woff2') format('woff2'); } @font-face { font-family: 'Public Sans Web'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/public-sans/PublicSans-Medium.woff2') format('woff2'); } @font-face { font-family: 'Public Sans Web'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/public-sans/PublicSans-SemiBold.woff2') format('woff2'); } @font-face { font-family: 'Public Sans Web'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/public-sans/PublicSans-Bold.woff2') format('woff2'); } @font-face { font-family: 'Public Sans Web'; font-style: italic; font-weight: 700; font-display: swap; src: url('../assets/fonts/public-sans/PublicSans-BoldItalic.woff2') format('woff2'); } /* Layout glue only. Colour, type, spacing and components come from USWDS. */ *, *::before, *::after { box-sizing: border-box; } html, body, #root { height: 100%; } body { margin: 0; } .kbb-app { display: flex; flex-direction: column; height: 100%; min-height: 0; } .kbb-main { flex: 1; min-height: 0; overflow: auto; background: #fff; } .kbb-main:focus { outline: none; } .kbb-narrow { max-width: 44rem; } .kbb-main--split { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); overflow: hidden; } .kbb-panel { overflow: auto; padding: 1rem 1rem 2rem; background: #fff; min-width: 0; } .kbb-map-wrap { position: relative; min-height: 0; height: 100%; } .kbb-map { position: absolute; inset: 0; } @media (min-width: 64em) { .kbb-main--split { grid-template-columns: minmax(24rem, 30rem) minmax(0, 1fr); } .kbb-panel { border-right: 1px solid #dfe1e2; } } @media (max-width: 63.99em) { .kbb-main--split.is-list .kbb-map-wrap { display: none; } .kbb-main--split.is-map .kbb-panel { display: none; } } .kbb-place-btn { appearance: none; cursor: pointer; font: inherit; color: inherit; } .kbb-place-btn:hover { background: #f0f0f0; } .kbb-place-btn:focus-visible, .kbb-pin:focus-visible { outline: 0.25rem solid #2491ff; outline-offset: 0; } .kbb-source { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; } .kbb-source > div { display: flex; align-items: center; gap: 0.4rem; } .kbb-source dt::after { content: ':'; } .kbb-source dd { margin: 0; } .kbb-legend { position: absolute; left: 0.5rem; bottom: 1.75rem; z-index: 2; max-width: 17rem; padding: 0.5rem 0.75rem; background: #fff; border: 1px solid #565c65; border-radius: 0.25rem; font-size: 0.875rem; } .kbb-legend summary { cursor: pointer; font-weight: 700; } .kbb-legend ul { margin-top: 0.5rem !important; } .kbb-legend li { padding: 0.15rem 0; } .kbb-swatch { flex: none; width: 0.9rem; height: 0.9rem; border: 2px solid; border-radius: 50%; margin-right: 0.5rem; } .kbb-map-note { position: absolute; top: 0.5rem; left: 0.5rem; right: 3.5rem; z-index: 2; } .kbb-pin { display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 2px solid #1b1b1b; background: #fff; color: #1b1b1b; font: 700 0.875rem/1 inherit; padding: 0; } .kbb-pin--start { background: #005ea2; color: #fff; border-color: #fff; } .kbb-pin--end { background: #1b1b1b; color: #fff; border-color: #fff; } .kbb-pin--barrier { background: #ffbe2e; cursor: pointer; } .kbb-pin--barrier .usa-icon { width: 1.1rem; height: 1.1rem; fill: currentColor; } .kbb-pin--hard { background: #b50909; color: #fff; border-color: #fff; } @media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }