*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

/* ─── TOP BAR 1: Location + Auth ─────────────────────────────── */
.topbar-main {
    position: relative;   /* anchors the absolutely-centered .build-badge */
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #1e3a8a;
    color: #fff;
    padding: 0 24px;
    height: 52px;
    flex-shrink: 0;
}

/* TEMPORARY — testing-phase build badge + feedback button, delete before
   real launch (see BUILD_VERSION in backend/settings.py). The group is
   absolutely positioned so it can never disrupt the brand/location/auth
   flex layout on any screen size, and wraps on narrow viewports instead of
   overlapping anything. */
.build-feedback-group {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    pointer-events: none;   /* never blocks clicks on whatever's underneath it */
}

.build-badge {
    background: #ffb300;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.feedback-btn {
    background: #dc2626;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 12px;
    white-space: nowrap;
    text-decoration: none;
    pointer-events: auto;   /* the group disables clicks, but this button needs them */
}

.feedback-btn:hover {
    background: #b91c1c;
}

.topbar-main .brand {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    margin-right: 8px;
}

.topbar-main .location-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.topbar-main .location-area input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    width: 220px;
}

.topbar-main .location-area input::placeholder {
    color: #7a8a9e;
}

.topbar-main .location-area #locate-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.topbar-main .location-area #locate-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Custom radius dropdown (core/static/core/radius-picker.js) — replaces the
   native <select>, which some browsers position so the selected option
   lands under the cursor, making a 13-option menu jump wildly depending on
   what's picked. This always opens the same way, anchored below the button. */
.topbar-main .location-area .radius-picker {
    position: relative;
}

.topbar-main .location-area .radius-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.topbar-main .location-area .radius-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.radius-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    padding: 4px 0;
    min-width: 140px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 50;
}

.radius-option {
    padding: 7px 16px;
    color: #222;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.radius-option:hover {
    background: #f0f2f5;
}

.radius-option.active {
    background: #1e3a8a;
    color: #fff;
    font-weight: 600;
}

.topbar-main .auth-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-main .auth-section .username {
    color: #a8c8f0;
    font-size: 13px;
    margin-right: 4px;
}

.topbar-main .auth-section a,
.topbar-main .auth-section button {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    transition: background 0.15s;
}

.topbar-main .auth-section a:hover,
.topbar-main .auth-section button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ─── TOP BAR 2: Categories ───────────────────────────────────── */
.topbar-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #cfe2ff;
    border-bottom: 1px solid #a9c9f5;
    padding: 0 24px;
    height: 44px;
    overflow-x: auto;
    flex-shrink: 0;
}

.topbar-categories::-webkit-scrollbar {
    height: 3px;
}

.topbar-categories::-webkit-scrollbar-thumb {
    background: #c0c8d8;
    border-radius: 2px;
}

.cat-bubble {
    display: inline-block;
    position: relative;
    padding: 5px 16px;
    border-radius: 20px;
    border: 1.5px solid var(--cat-color, #607d8b);
    background: var(--cat-color, #607d8b);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: all 0.15s;
    flex-shrink: 0;
    opacity: 0.5;            /* unselected = dimmed */
}

.cat-bubble:hover:not(.active) {
    opacity: 0.8;
}

.cat-bubble.active {
    opacity: 1;             /* selected = full colour */
    font-weight: 600;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* The focused main (whose subcategories are shown) gets a dark ring. */
.cat-bubble.focused {
    outline: 2px solid #1a2940;
    outline-offset: 1px;
}

/* ─── TOP BAR 3: Subcategories ────────────────────────────────── */
.topbar-subcategories {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #e3eefb;          /* a touch lighter than the main bar */
    border-bottom: 1px solid #c3d9f5;
    padding: 0 24px;
    height: 42px;
    overflow-x: auto;
    flex-shrink: 0;
}

.topbar-subcategories::-webkit-scrollbar { height: 3px; }
.topbar-subcategories::-webkit-scrollbar-thumb { background: #c0c8d8; border-radius: 2px; }

.sub-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sub-bubble {
    font-size: 12px;
    padding: 4px 14px;
}

/* ─── Category picker (event create/edit form) ──────────────────
   Click a main category to select the whole category and reveal its
   subcategories; click a subcategory to select just that one (and
   clear the main); click the main again to switch the whole group off.
   Actual click logic lives in event_form.html's inline <script> — CSS
   here only handles layout + the checked/unchecked look.

   Readability override: the homepage filter bar dims unselected bubbles
   (colored bg + white text @ 50% opacity), which reads fine for a quick
   glance-filter but is too low-contrast when actually reading a list of
   options here — so this picker flips to outlined-when-unselected
   (white bg, colored text/border, full opacity) / filled-when-selected. */
.category-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-picker .cat-bubble {
    opacity: 1;
    background: #fff;
    color: var(--cat-color, #607d8b);
}

.category-picker .cat-bubble:hover {
    background: #f3f6fb;
}

.category-picker .cat-bubble:has(input[type="checkbox"]:checked) {
    background: var(--cat-color, #607d8b);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cat-group {
    flex-basis: 100%;
}

.cat-sub-row {
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 4px;
    width: 100%;
}

.cat-sub-row.expanded {
    display: flex;
}

.cat-bubble input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* ─── GEO FEEDBACK LABEL ──────────────────────────────────────── */
.geo-feedback {
    background-color: #eaf2ff;
    border-bottom: 1px solid #cfe2ff;
    color: #1e3a8a;
    font-size: 13px;
    padding: 7px 24px;
}

/* ─── CALENDAR AREA ───────────────────────────────────────────── */
.calendar-wrapper {
    padding: 16px 24px;
    height: calc(100vh - 52px - 44px);
}

#calendar {
    height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    padding: 16px;
}

/* ─── OTHER PAGES (login, signup, forms, event detail) ────────── */
.page-container {
    max-width: 520px;
    margin: 40px auto;
    padding: 32px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.page-container h1 {
    color: #1a2940;
    margin-bottom: 20px;
    font-size: 22px;
}

.page-container p,
.page-container li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.page-container a {
    color: #005a9c;
}

/* keep logout as a plain link in auth section */
.link-button {
    background: none;
    border: none;
    color: #005a9c;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

/* ─── AUTH FORMS (login / signup / password reset) ────────────── */
.auth-form p {
    margin-bottom: 14px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #445;
    margin-bottom: 4px;
}

.auth-form input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #c0c8d8;
    border-radius: 6px;
    font-size: 14px;
}

.auth-form input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.15);
}

/* Django renders field help text and errors in these */
.auth-form .helptext {
    display: block;
    font-size: 11px;
    color: #889;
    font-weight: 400;
    margin-top: 4px;
}

.auth-form ul.errorlist {
    list-style: none;
    padding: 0;
    margin: 0 0 6px 0;
    color: #c92006;
    font-size: 12px;
}

.primary-button {
    width: 100%;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.15s;
}

.primary-button:hover {
    background: #162d6e;
}

.auth-alt {
    margin-top: 14px;
    font-size: 13px;
    text-align: center;
}

/* ─── WIDER CONTAINER (event form + detail) ───────────────────── */
.page-wide {
    max-width: 720px;
}

/* ─── EVENT FORM ──────────────────────────────────────────────── */
.event-form fieldset {
    border: 1px solid #dde3ee;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 18px;
}

.event-form legend {
    font-weight: 700;
    color: #1e3a8a;
    padding: 0 8px;
    font-size: 15px;
}

.optional-tag {
    font-weight: 400;
    font-size: 11px;
    color: #889;
    background: #f0f2f5;
    border-radius: 10px;
    padding: 2px 8px;
    margin-left: 6px;
}

.form-field {
    margin-bottom: 12px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #445;
    margin-bottom: 4px;
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #c0c8d8;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.15);
}

.form-field .helptext {
    display: block;
    font-size: 11px;
    color: #889;
    margin-top: 3px;
}

.field-errors {
    color: #c92006;
    font-size: 12px;
    margin-top: 4px;
}

/* lay several fields side by side */
.field-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.field-row .form-field {
    flex: 1;
    min-width: 120px;
}

/* Quick duration picker under the start/end time fields */
.duration-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 10px;
}

.duration-bubble {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1.5px solid #a9c9f5;
    background: #fff;
    color: #1e3a8a;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s;
}

.duration-bubble:hover {
    background: #eaf2ff;
}

.duration-bubble.active {
    background: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
    font-weight: 600;
}

/* Location autocomplete (event create/edit form) */
.location-autocomplete-wrap {
    position: relative;
}

.location-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #c0c8d8;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 30;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Explicit dark text — this box renders on a white background wherever it's
   used, but on the homepage it sits inside the dark-blue topbar (color:
   #fff cascades down), which without this made suggestions white-on-white
   until hovered. */
.location-suggestion {
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    color: #222;
}

.location-suggestion:hover {
    background: #eaf2ff;
}

.checkbox-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}

.amenity-block {
    margin-bottom: 10px;
}

.amenity-info {
    display: none;
}

.amenity-info.expanded {
    display: block;
    margin-top: 6px;
    margin-left: 24px;   /* lines up under the checkbox label's text, not the box */
}

/* ─── EVENT DETAIL ────────────────────────────────────────────── */
.event-cover {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.event-header h1 {
    margin: 0;
}

.event-byline {
    margin: 2px 0 0;
    font-size: 13px;
    color: #889;
}

.event-byline a {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
}

.owner-actions {
    display: flex;
    gap: 12px;
    white-space: nowrap;
    font-size: 14px;
}

.danger-link {
    color: #c92006;
}

.key-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 16px 0;
    font-size: 14px;
    color: #334;
}

.age-badge {
    background: #c92006;
    color: #fff;
    border-radius: 6px;
    padding: 1px 8px;
    font-weight: 700;
    font-size: 13px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.chip {
    background: #eaf2ff;
    color: #1e3a8a;
    border-radius: 14px;
    padding: 4px 12px;
    font-size: 13px;
}

.chip-audience {
    background: #f0e9ff;
    color: #5b2a86;
}

.pictograms {
    display: flex;
    gap: 14px;
    font-size: 26px;
    margin-bottom: 16px;
}

.picto-wrap {
    position: relative;
    display: inline-block;
}

.picto {
    cursor: help;
}

.picto-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    width: max-content;
    max-width: 240px;
    text-align: center;
    padding: 9px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    z-index: 20;
}

/* little speech-bubble pointer, tip touching the pictogram below */
.picto-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}

.picto-wrap:hover .picto-tooltip,
.picto-wrap.open .picto-tooltip {
    display: block;
}

.event-description {
    line-height: 1.6;
    margin-bottom: 18px;
    white-space: pre-wrap;
}

.good-to-know {
    background: #f7f9fc;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 14px;
}

.good-to-know p {
    margin: 4px 0;
}

.button-link {
    display: inline-block;
    width: auto;
    text-decoration: none;
    padding: 11px 22px;
}

/* Keep primary-button links white even inside .page-container, which otherwise
   colors generic links blue (made dark-blue buttons' text invisible). */
.page-container a.primary-button {
    color: #fff;
}

.back-link {
    margin-top: 20px;
    font-size: 14px;
}

/* ─── LIKE BUTTON ─────────────────────────────────────────────── */
.like-area {
    margin: 12px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #dde3ee;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s;
}

.like-btn:hover {
    border-color: #c92006;
}

.like-btn.liked {
    background: #fff0ef;
    border-color: #c92006;
    color: #c92006;
    font-weight: 600;
}

.like-btn .heart {
    font-size: 16px;
    line-height: 1;
}

.attend-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #dde3ee;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s;
}

.attend-btn:hover {
    border-color: #1e7a3a;
}

.attend-btn.attending {
    background: #eefbf1;
    border-color: #1e7a3a;
    color: #1e7a3a;
    font-weight: 600;
}

.attend-btn .attend-icon {
    font-size: 16px;
    line-height: 1;
}

.attendee-list {
    margin: 4px 0 18px;
    padding: 12px 16px;
    background: #f7f9fc;
    border: 1px solid #dde3ee;
    border-radius: 8px;
}

.attendee-list h3 {
    font-size: 14px;
    margin: 0 0 8px;
}

.attendee-list ul {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
}

.attendee-empty {
    font-size: 13px;
    color: #889;
    margin: 0;
}

/* ─── PROFILE ─────────────────────────────────────────────────── */
.profile-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-header h1 {
    margin: 0;
}

.muted {
    color: #889;
    font-size: 13px;
}

.profile-private {
    background: #f7f9fc;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 16px 0;
    font-size: 14px;
}

.profile-private p {
    margin: 4px 0;
}

.profile-private .button-link {
    margin-top: 10px;
}

.profile-events {
    list-style: none;
    padding: 0;
}

.profile-events li {
    padding: 10px 0;
    border-bottom: 1px solid #eef1f6;
}

.profile-events li a {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
    margin-right: 8px;
}

/* ─── PROFILE TABS (created / liked / attending, private) ────────── */
.profile-tabs {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid #dde3ee;
    margin-bottom: 16px;
}

.tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #667;
    cursor: pointer;
}

.tab-btn:hover {
    color: #1e3a8a;
}

.tab-btn.active {
    color: #1e3a8a;
    border-bottom-color: #1e3a8a;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ─── ROLLING 2-WEEK VIEW: force equal-height rows ──────────────── */
/* Target only the two week-level <tr> rows (direct children of the sync
   table's <tbody>), NOT the nested event rows inside each day cell.
   CSS !important beats FullCalendar's inline style="height:Xpx" so the
   lock holds through every re-render. Value comes from --rolling-row-h,
   set by JS after measuring natural heights. When the variable is unset it
   resolves to auto (row sizes naturally), which is the measure phase. */
.fc-rollingTwoWeeks-view .fc-scrollgrid-sync-table > tbody > tr {
    height: var(--rolling-row-h) !important;
}

.fc-dayGridMonth-view .fc-scrollgrid-sync-table > tbody > tr {
    height: var(--month-row-h) !important;
}

/* ─── RESPONSIVE / MOBILE ─────────────────────────────────────── */
/* Everything above is desktop-first (fixed widths/heights). These rules — and
   only these — adapt the layout for phones and small tablets, so the desktop
   view is untouched. The mobile calendar behaviour (list/agenda view + compact
   toolbar) is handled in index.html's JS. */
@media (max-width: 768px) {
    /* Top bar 1: allow wrapping; the search box drops to its own full-width row. */
    .topbar-main {
        flex-wrap: wrap;
        height: auto;
        padding: 8px 12px;
        gap: 8px 10px;
    }
    .topbar-main .brand {
        font-size: 16px;
        margin-right: auto;        /* push the auth buttons to the far right */
    }
    .topbar-main .location-area {
        order: 3;                  /* force onto a new row below brand + auth */
        flex-basis: 100%;
    }
    .topbar-main .location-area .location-autocomplete-wrap {
        flex: 1;                   /* fill the row instead of a fixed 220px */
        min-width: 0;
    }
    .topbar-main .location-area input {
        width: 100%;
    }
    .topbar-main .auth-section {
        gap: 6px;
    }
    .topbar-main .auth-section a,
    .topbar-main .auth-section button {
        padding: 6px 10px;         /* tighter so three items fit the row */
    }

    /* Category + subcategory bars keep their horizontal scroll, just tighter. */
    .topbar-categories,
    .topbar-subcategories {
        padding: 0 12px;
        -webkit-overflow-scrolling: touch;
    }

    .geo-feedback { padding: 7px 12px; font-size: 12px; }

    /* Calendar: reclaim edge space; let JS drive the height (no fixed calc). */
    .calendar-wrapper { padding: 8px; height: auto; }
    #calendar { padding: 8px; border-radius: 6px; }

    /* Secondary pages: less margin/padding so they don't feel cramped. */
    .page-container { margin: 16px; padding: 20px; }

    /* FullCalendar toolbar: wrap and shrink so it fits a narrow screen. The
       bottom (footer) toolbar holds the Agenda / day / month view switcher. */
    .fc .fc-toolbar.fc-header-toolbar {
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 8px;
    }
    .fc .fc-toolbar-title { font-size: 1.05rem; }
    .fc .fc-footer-toolbar { margin-top: 10px; justify-content: center; }
    .fc .fc-button { padding: 5px 9px; font-size: 13px; }

    /* Agenda list rows: comfortable tap targets. */
    .fc .fc-list-event { font-size: 14px; }
    .fc .fc-list-event-title a { padding: 2px 0; }
}
