.gps-pac, .gps-pac * { box-sizing: border-box; }
.gps-pac { --gps-border: #cbd5e1; --gps-text: #172033; --gps-accent: #244871; --gps-hover: #e7f0fb; color: var(--gps-text); width: 100%; max-width: 720px; background: #fff; border: 1px solid var(--gps-border); border-radius: 12px; padding: clamp(10px, 2.5vw, 20px); }
.gps-pac__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
.gps-pac__title { margin: 0; font-size: clamp(1.05rem, 3vw, 1.35rem); font-weight: 700; line-height: 1.4; text-align: center; color: var(--gps-text); }
.gps-pac__nav { border: 1px solid var(--gps-border); border-radius: 8px; background: #f8fafc; color: var(--gps-text); cursor: pointer; min-width: 42px; min-height: 42px; font: inherit; font-size: 1.4rem; line-height: 1; }
.gps-pac__nav:hover:not(:disabled), .gps-pac__day--has-posts:hover { background: var(--gps-hover); }
.gps-pac__nav:disabled { opacity: .5; cursor: not-allowed; }
.gps-pac__table { border-collapse: separate; border-spacing: 3px; width: 100%; table-layout: fixed; margin: 0; border: 0; }
.gps-pac__table th, .gps-pac__table td { border: 0; padding: 0; width: 14.2857%; text-align: center; vertical-align: middle; background: transparent; }
.gps-pac__table th { font-weight: 650; font-size: .9rem; padding: 6px 0; color: var(--gps-text); }
.gps-pac__table th abbr { text-decoration: none; cursor: help; }
.gps-pac__day { display: flex; justify-content: center; align-items: center; position: relative; border-radius: 7px; border: 1px solid transparent; background: #f3f5f8; color: var(--gps-text); width: 100%; min-height: 44px; font: inherit; font-weight: 600; text-align: center; }
.gps-pac__day--empty { color: #506078; font-weight: 400; }
.gps-pac__day--has-posts { border-color: var(--gps-accent); background: #fff; color: #173a66; cursor: pointer; }
.gps-pac__day--has-posts::after { content: ''; position: absolute; right: 4px; bottom: 4px; border-radius: 50%; width: 5px; height: 5px; background: var(--gps-accent); }
.gps-pac__day[aria-pressed='true'] { background: var(--gps-accent); border-color: var(--gps-accent); color: #fff; }
.gps-pac__day[aria-pressed='true']::after { background: #fff; }
.gps-pac__day--has-posts:focus-visible, .gps-pac__nav:focus-visible { outline: 3px solid #3a83da; outline-offset: 2px; }
.gps-pac__results { margin-top: 18px; }
.gps-pac__message { margin: 0; padding: 10px 12px; font-size: .95rem; }
.gps-pac__list { margin: 0; padding: 0; list-style: none; }
.gps-pac__result { padding: 10px 12px; margin: 0 0 6px; border: 1px solid var(--gps-border); border-radius: 8px; background: #fff; overflow-wrap: anywhere; }
.gps-pac__result a { color: #164777; text-decoration: underline; }
.gps-pac__result a:hover { color: #092a4b; }
.gps-pac__post-time { font-size: .92em; color: var(--gps-text); white-space: nowrap; }
.gps-pac__post-meta { color: var(--gps-text); opacity: .82; font-size: .875em; line-height: 1.4; margin: 3px 0 0; overflow-wrap: anywhere; }
.gps-pac .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
@media (max-width: 450px) { .gps-pac { padding: 8px; } .gps-pac__table { border-spacing: 1px; } .gps-pac__table th { font-size: .74rem; } .gps-pac__day { min-height: 40px; font-size: .87rem; } }

.gps-pac__table--5 th, .gps-pac__table--5 td { width: 20%; }
.gps-pac__chooser { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.gps-pac__category, .gps-pac__author { min-height: 42px; max-width: 100%; border: 1px solid var(--gps-border); border-radius: 7px; padding: 5px 10px; font: inherit; color: var(--gps-text); background: #fff; }
.gps-pac__excerpt { margin: 8px 0 0; color: var(--gps-text); line-height: 1.45; }
.gps-pac__post-content { margin-top: 8px; overflow-wrap: anywhere; }
.gps-pac__post-content img, .gps-pac__post-content video { max-width: 100%; height: auto; }

/* Shared title typography for linked and plain-text Pro post titles. */
.gps-pac__post-title { font-weight: 600; }
.gps-pac .gps-pac__result span.gps-pac__post-title { color: var(--gps-text); text-decoration: none; }

/* Keyboard focus should be visible on category selectors and post links. */
.gps-pac__category:focus-visible,
.gps-pac__author:focus-visible,
.gps-pac__result a:focus-visible {
    outline: 3px solid #3a83da;
    outline-offset: 3px;
}
