.gpia-calendar-wrapper {
    --gpia-cor-pascom: #28a745;
    --gpia-cor-missa: #fff8e1;
    --gpia-cor-evento: #eef5ff;
    --gpia-cor-reuniao: #f1f3f5;
    --gpia-cor-formacao: #f3e8ff;
    --gpia-cor-oracao: #f7edff;
    --gpia-cor-festa: #f8f0e3;
    --gpia-cor-outro: #f8f9fa;
}

.gpia-calendar-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 24px;
    box-sizing: border-box;
}

.gpia-calendar-wrapper,
.gpia-calendar-wrapper * {
    box-sizing: border-box;
}

.gpia-calendar-shell {
    display: grid;
    gap: 24px;
    color: #1f2328;
}

.gpia-page-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.gpia-page-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.gpia-page-subtitle {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
}

.gpia-floating-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(34, 113, 177, 0.18);
}

.gpia-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gpia-top-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.gpia-top-search .gpia-search-field {
    min-width: 0;
}

.gpia-weekly-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.gpia-access-card {
    display: grid;
    gap: 14px;
    max-width: 460px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.gpia-access-form {
    display: grid;
    gap: 12px;
}

.gpia-access-form label {
    font-size: 14px;
    font-weight: 600;
    color: #344054;
}

.gpia-access-form input[type="password"] {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    background: #fff;
}

.gpia-access-error {
    margin: 0;
    color: #b42318;
    font-size: 14px;
}

.gpia-access-message {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.gpia-weekly-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gpia-section-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.gpia-section-subtitle {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
}

.gpia-week-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gpia-week-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
    gap: 12px;
}

.gpia-week-item,
.gpia-pascom-panel-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #dfe3e6;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    text-align: left;
    appearance: none;
    font: inherit;
    width: 100%;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    --gpia-surface-bg: #ffffff;
    --gpia-surface-border: #dfe3e6;
    --gpia-type-border: #adb5bd;
}

.gpia-week-item.is-default {
    background: var(--gpia-surface-bg);
    border-color: var(--gpia-surface-border);
    border-left: 4px solid var(--gpia-type-border);
}

.gpia-week-item.is-pascom,
.gpia-pascom-panel-item.is-pascom {
    background: linear-gradient(0deg, rgba(40, 167, 69, 0.04), rgba(40, 167, 69, 0.04)), #f0fff4;
    border: 2px solid #28a745;
    border-left: 4px solid var(--gpia-type-border);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.08);
}

.gpia-week-date {
    display: grid;
    gap: 2px;
    align-content: start;
    min-width: 56px;
    padding: 10px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
    font-weight: 700;
    color: #101828;
}

.gpia-date-day {
    font-size: 21px;
    line-height: 1;
}

.gpia-date-month {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #667085;
}

.gpia-week-main,
.gpia-pascom-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.gpia-week-time {
    display: inline-flex;
    width: fit-content;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 11px;
    font-weight: 700;
    color: #344054;
}

.gpia-week-title {
    font-size: 18px;
    line-height: 1.32;
    font-weight: 700;
}

.gpia-week-local,
.gpia-pascom-meta-line {
    font-size: 12px;
    color: #667085;
    line-height: 1.45;
}

.gpia-pascom-meta-line a {
    color: var(--gpia-cor-pascom);
    font-weight: 600;
    text-decoration: none;
}

.gpia-pascom-meta-line a:hover {
    text-decoration: underline;
}

.gpia-week-status {
    display: inline-flex;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
    color: #475467;
    background: rgba(255, 255, 255, 0.6);
}

.gpia-week-status.is-status-planejado {
    color: #5f6b7a;
    background: #edf1f5;
}

.gpia-week-status.is-status-em_andamento {
    color: #1d4ed8;
    background: #e8f0ff;
}

.gpia-week-status.is-status-concluido {
    color: #1f6b35;
    background: #e6f6ea;
}

.gpia-week-status.is-status-cancelado {
    color: #b42318;
    background: #fdeceb;
}

.gpia-week-tags {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: end;
}

.gpia-month-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gpia-month-current {
    font-size: 20px;
}

.gpia-month-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    background: #fff;
    color: #1f2328;
    text-decoration: none;
}

.gpia-clear-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #344054;
    text-decoration: none;
}

.gpia-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gpia-search-field {
    flex: 1 1 260px;
}

.gpia-search-field input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    background: #fff;
}

.gpia-filter-bar select {
    min-height: 42px;
    min-width: 140px;
    padding: 0 12px;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    background: #fff;
}

.gpia-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fcfcfd;
    font-size: 13px;
    color: #4b5563;
}

.gpia-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gpia-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid #c3c4c7;
}

.gpia-legend-swatch-default {
    background: #f4f8fc;
    border-color: #cbd8e6;
}

.gpia-legend-swatch-pascom {
    background: #ebf8ef;
    border-color: #28a745;
}

.gpia-search-results {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.gpia-search-list {
    display: grid;
    gap: 10px;
}

.gpia-print-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
}

.gpia-search-item {
    display: grid;
    grid-template-columns: 100px 70px minmax(0, 1fr) minmax(0, 180px) auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #dfe3e6;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    text-align: left;
    appearance: none;
    font: inherit;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    --gpia-surface-bg: #ffffff;
    --gpia-surface-border: #dfe3e6;
    --gpia-type-border: #adb5bd;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gpia-search-item.is-default {
    background: var(--gpia-surface-bg);
    border-color: var(--gpia-surface-border);
    border-left: 4px solid var(--gpia-type-border);
}

.gpia-search-item:hover,
.gpia-day-event:hover,
.gpia-week-item:hover,
.gpia-pascom-panel-item:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.gpia-search-item.is-pascom {
    background: linear-gradient(0deg, rgba(40, 167, 69, 0.04), rgba(40, 167, 69, 0.04)), #f0fff4;
    border: 2px solid #28a745;
}

.gpia-search-date,
.gpia-search-time,
.gpia-search-local {
    font-size: 13px;
    color: #667085;
}

.gpia-search-title {
    font-size: 16px;
    line-height: 1.32;
    font-weight: 700;
}

.gpia-event-type-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: #4b5563;
    font-size: 11px;
    font-weight: 700;
}

.gpia-monthly-panel {
    display: grid;
    gap: 14px;
}

.gpia-monthly-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.gpia-month-event-days {
    display: grid;
    gap: 12px;
}

.gpia-month-day-block {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.gpia-month-day-head {
    display: grid;
    gap: 4px;
    justify-items: center;
    align-content: center;
    min-height: 72px;
    padding: 10px 8px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e1e5ea;
}

.gpia-month-day-number {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    color: #101828;
}

.gpia-month-day-weekday {
    font-size: 12px;
    font-weight: 700;
    color: #667085;
    text-transform: uppercase;
}

.gpia-month-day-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.gpia-empty-message {
    margin: 0;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #667085;
}

.gpia-grid-shell {
    overflow-x: auto;
}

.gpia-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.gpia-grid-head,
.gpia-day {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.gpia-grid-head {
    padding: 10px 8px;
    font-weight: 600;
    text-align: center;
    color: #344054;
    font-size: 13px;
}

.gpia-day {
    min-height: 180px;
    padding: 10px;
    display: grid;
    gap: 8px;
    align-content: start;
    background: #f8f9fa;
}

.gpia-day-empty {
    background: #f8fafc;
}

.gpia-day-number {
    font-weight: 700;
    color: #111827;
}

.gpia-day-event {
    display: grid;
    gap: 4px;
    min-height: 72px;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: left;
    text-decoration: none;
    color: inherit;
    border: 1px solid #dfe3e6;
    cursor: pointer;
    appearance: none;
    font: inherit;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    --gpia-surface-bg: #ffffff;
    --gpia-surface-border: #dfe3e6;
    --gpia-type-border: #adb5bd;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.gpia-day-event.is-default {
    background: var(--gpia-surface-bg);
    border-color: var(--gpia-surface-border);
    border-left: 4px solid var(--gpia-type-border);
}

.gpia-day-event.is-pascom {
    background: linear-gradient(0deg, rgba(40, 167, 69, 0.04), rgba(40, 167, 69, 0.04)), #f0fff4;
    border: 2px solid #28a745;
    border-left: 4px solid var(--gpia-type-border);
}

.gpia-day-time {
    display: inline-flex;
    width: fit-content;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 11px;
    font-weight: 700;
    color: #344054;
}

.gpia-day-title {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gpia-day-local {
    color: #667085;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gpia-day-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.gpia-pascom-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: #dff3e5;
    color: #1f6b35;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.gpia-day-more {
    font-size: 12px;
    color: #667085;
}

.gpia-upcoming {
    display: grid;
    gap: 12px;
}

.gpia-upcoming h3 {
    margin: 0;
    font-size: 18px;
}

.gpia-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.gpia-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.gpia-card.is-pascom {
    border-color: #28a745;
    background: #f8fdf9;
}

.gpia-card-surface {
    display: grid;
    gap: 14px;
    min-height: 190px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    text-align: left;
    border: 0;
    background: transparent;
    width: 100%;
    cursor: pointer;
}

.gpia-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    font-size: 12px;
    text-transform: uppercase;
    color: #667085;
}

.gpia-card-main {
    display: grid;
    gap: 6px;
}

.gpia-card-time {
    font-size: 13px;
    font-weight: 600;
    color: #475467;
}

.gpia-card-main h4 {
    margin: 0;
    font-size: 19px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gpia-card-line {
    margin: 0;
    color: #667085;
}

.gpia-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.gpia-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid #d0d7de;
    background: #fff;
    color: #1f2328;
    font-size: 12px;
}

.gpia-edit-link-inline {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
}

.gpia-mobile-list {
    display: none;
}

.gpia-mobile-item {
    display: none;
}

.gpia-mobile-item.is-default {
    background: var(--gpia-surface-bg);
    border-color: var(--gpia-surface-border);
}

.gpia-print-actions {
    display: flex;
    justify-content: flex-end;
}

.gpia-print-sheet {
    display: none;
}

.gpia-print-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.gpia-print-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gpia-print-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.gpia-print-brand h1,
.gpia-print-brand p,
.gpia-print-meta p {
    margin: 0;
}

.gpia-print-item-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.gpia-print-item-meta {
    display: grid;
    gap: 4px;
}

.gpia-print-list {
    margin: 0;
    padding-left: 18px;
}

.gpia-week-item.type-celebracao,
.gpia-day-event.type-celebracao,
.gpia-mobile-item.type-celebracao,
.gpia-search-item.type-celebracao,
.gpia-pascom-panel-item.type-celebracao {
    --gpia-surface-bg: var(--gpia-cor-missa);
    --gpia-surface-border: #ead8a0;
    --gpia-type-border: #d4a017;
}

.gpia-week-item.type-reuniao,
.gpia-day-event.type-reuniao,
.gpia-mobile-item.type-reuniao,
.gpia-search-item.type-reuniao,
.gpia-pascom-panel-item.type-reuniao {
    --gpia-surface-bg: var(--gpia-cor-reuniao);
    --gpia-surface-border: #d7dde2;
    --gpia-type-border: #6c757d;
}

.gpia-week-item.type-formacao,
.gpia-day-event.type-formacao,
.gpia-mobile-item.type-formacao,
.gpia-search-item.type-formacao,
.gpia-pascom-panel-item.type-formacao {
    --gpia-surface-bg: var(--gpia-cor-formacao);
    --gpia-surface-border: #dcccf6;
    --gpia-type-border: #7c3aed;
}

.gpia-week-item.type-oracao,
.gpia-day-event.type-oracao,
.gpia-mobile-item.type-oracao,
.gpia-search-item.type-oracao,
.gpia-pascom-panel-item.type-oracao {
    --gpia-surface-bg: var(--gpia-cor-oracao);
    --gpia-surface-border: #e4d4fa;
    --gpia-type-border: #9b5de5;
}

.gpia-week-item.type-festa,
.gpia-day-event.type-festa,
.gpia-mobile-item.type-festa,
.gpia-search-item.type-festa,
.gpia-pascom-panel-item.type-festa {
    --gpia-surface-bg: var(--gpia-cor-evento);
    --gpia-surface-border: #d8e6fb;
    --gpia-type-border: #3b82f6;
}

.gpia-week-item.type-outro,
.gpia-day-event.type-outro,
.gpia-mobile-item.type-outro,
.gpia-search-item.type-outro,
.gpia-pascom-panel-item.type-outro {
    --gpia-surface-bg: var(--gpia-cor-outro);
    --gpia-surface-border: #dde2e6;
    --gpia-type-border: #adb5bd;
}

.gpia-week-item.type-celebracao .gpia-event-type-tag,
.gpia-day-event.type-celebracao .gpia-event-type-tag,
.gpia-search-item.type-celebracao .gpia-event-type-tag,
.gpia-pascom-panel-item.type-celebracao .gpia-event-type-tag {
    background: rgba(212, 160, 23, 0.12);
}

.gpia-week-item.type-festa .gpia-event-type-tag,
.gpia-day-event.type-festa .gpia-event-type-tag,
.gpia-search-item.type-festa .gpia-event-type-tag,
.gpia-pascom-panel-item.type-festa .gpia-event-type-tag {
    background: rgba(59, 130, 246, 0.12);
}

.gpia-week-item.type-reuniao .gpia-event-type-tag,
.gpia-day-event.type-reuniao .gpia-event-type-tag,
.gpia-search-item.type-reuniao .gpia-event-type-tag,
.gpia-pascom-panel-item.type-reuniao .gpia-event-type-tag {
    background: rgba(108, 117, 125, 0.12);
}

.gpia-week-item.type-formacao .gpia-event-type-tag,
.gpia-day-event.type-formacao .gpia-event-type-tag,
.gpia-search-item.type-formacao .gpia-event-type-tag,
.gpia-pascom-panel-item.type-formacao .gpia-event-type-tag {
    background: rgba(124, 58, 237, 0.12);
}

.gpia-week-item.type-oracao .gpia-event-type-tag,
.gpia-day-event.type-oracao .gpia-event-type-tag,
.gpia-search-item.type-oracao .gpia-event-type-tag,
.gpia-pascom-panel-item.type-oracao .gpia-event-type-tag {
    background: rgba(155, 93, 229, 0.12);
}

.gpia-modal[hidden] {
    display: none;
}

.gpia-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.gpia-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
}

.gpia-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 24px));
    margin: 60px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}

.gpia-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f3f4f6;
    cursor: pointer;
    font-size: 22px;
}

.gpia-modal-content {
    display: grid;
    gap: 10px;
    padding: 24px;
}

.gpia-modal-content h3,
.gpia-modal-content p {
    margin: 0;
}

.gpia-modal-time,
.gpia-modal-local,
.gpia-modal-status,
.gpia-modal-pascom {
    color: #4b5563;
}

.gpia-modal-description {
    color: #1f2328;
    line-height: 1.55;
    white-space: pre-wrap;
}

@media (max-width: 900px) {
    .gpia-page-head,
    .gpia-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .gpia-weekly-head,
    .gpia-monthly-head {
        flex-direction: column;
    }

    .gpia-month-day-block {
        grid-template-columns: 1fr;
    }

    .gpia-month-day-head {
        grid-template-columns: auto auto;
        justify-content: start;
        justify-items: start;
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .gpia-calendar-wrapper {
        padding: 0 12px 88px;
    }

    .gpia-page-title {
        font-size: 22px;
    }

    .gpia-floating-action {
        position: fixed;
        right: 14px;
        bottom: 14px;
        z-index: 50;
        min-height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

    .gpia-grid-shell,
    .gpia-upcoming {
        display: none;
    }

    .gpia-week-list {
        grid-template-columns: 1fr;
    }

    .gpia-week-item,
    .gpia-pascom-panel-item,
    .gpia-search-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .gpia-week-tags {
        grid-column: 2;
        justify-content: start;
    }

    .gpia-search-date,
    .gpia-search-time,
    .gpia-search-title,
    .gpia-search-local,
    .gpia-search-item .gpia-pascom-badge,
    .gpia-search-item .gpia-event-type-tag {
        grid-column: 2;
    }

    .gpia-mobile-list {
        display: grid;
        gap: 10px;
    }

.gpia-mobile-item {
        display: grid;
        grid-template-columns: 56px 52px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
        padding: 14px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        background: #fff;
        text-decoration: none;
        color: inherit;
        text-align: left;
        appearance: none;
        font: inherit;
        width: 100%;
    }

    .gpia-mobile-item.is-pascom {
        border-color: #28a745;
        background: linear-gradient(0deg, rgba(40, 167, 69, 0.05), rgba(40, 167, 69, 0.05)), var(--gpia-surface-bg);
    }

    .gpia-mobile-item.is-default:nth-child(odd) {
        background: #f7fafc;
    }

    .gpia-mobile-item.is-default:nth-child(even) {
        background: #f4f8fc;
    }

    .gpia-mobile-date,
    .gpia-mobile-time {
        font-size: 12px;
        color: #667085;
    }

    .gpia-mobile-title {
        display: block;
        font-size: 14px;
        line-height: 1.35;
    }

    .gpia-mobile-local {
        display: block;
        font-size: 12px;
        color: #667085;
    }

    .gpia-filter-bar {
        width: 100%;
    }

    .gpia-filter-bar select {
        flex: 1 1 0;
        min-width: 0;
    }

    .gpia-search-field {
        flex-basis: 100%;
    }

    .gpia-top-search {
        flex-wrap: wrap;
    }

    .gpia-top-search .gpia-search-field {
        flex-basis: 100%;
    }

    .gpia-top-search .gpia-month-link,
    .gpia-top-search .gpia-clear-search {
        flex: 1 1 0;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .gpia-print-sheet,
    .gpia-print-sheet * {
        visibility: visible !important;
    }

    .gpia-print-sheet {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 24px;
        color: #000;
        background: #fff;
    }
}
