/* LaunchPoint Profile Travel Calendar — v1.47.9 planner-first visual system. */
[data-lpc-profile-calendar]{
    --cal-navy:var(--lpc-primary,#123a78);
    --cal-navy-2:var(--lpc-primary-hover,#0a2b5f);
    --cal-blue:#2878c8;
    --cal-blue-soft:#eef6fc;
    --cal-blue-soft-2:#f7fbfe;
    --cal-teal:var(--lpc-success,#0b817a);
    --cal-teal-soft:#edf9f7;
    --cal-gold:var(--lpc-amber,#f2b45a);
    --cal-gold-hover:var(--lpc-amber-hover,#f6c16e);
    --cal-gold-press:var(--lpc-amber-active,#e8a342);
    --cal-gold-border:#dc9836;
    --cal-text:#17365f;
    --cal-muted:#6b7c92;
    --cal-border:var(--lpc-border,#d9e4ee);
    --cal-border-strong:var(--lpc-border-strong,#c3d2e1);
    --cal-surface:var(--lpc-panel,#fff);
    --cal-soft:#f7f9fc;
    --cal-focus:#4f9fd9;
    --cal-danger:var(--lpc-danger,#aa3d49);
    --cal-warning:#97651d;
    --cal-warning-soft:#fff8e8;
    --cal-shadow:0 10px 28px rgba(20,49,83,.07);
    display:grid;
    gap:14px;
    min-width:0;
    width:100%;
    container-name:lpc-profile-calendar;
    container-type:inline-size;
    color:var(--cal-text);
    font-family:inherit;
}
[data-lpc-profile-calendar] *,[data-lpc-profile-calendar] *::before,[data-lpc-profile-calendar] *::after{box-sizing:border-box}
[data-lpc-profile-calendar] button,[data-lpc-profile-calendar] select,[data-lpc-profile-calendar] input{font-family:inherit}
[data-lpc-profile-calendar] button{appearance:none;-webkit-appearance:none;margin:0;border:0;font:inherit;font-style:normal;letter-spacing:normal;text-transform:none;text-shadow:none;background-image:none!important;box-shadow:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
[data-lpc-profile-calendar] button:focus,[data-lpc-profile-calendar] select:focus,[data-lpc-profile-calendar] input:focus{outline:none}
[data-lpc-profile-calendar] button:focus-visible,[data-lpc-profile-calendar] select:focus-visible,[data-lpc-profile-calendar] input:focus-visible{outline:3px solid rgba(79,159,217,.28)!important;outline-offset:2px!important}
[data-lpc-profile-calendar] button:disabled{cursor:not-allowed;opacity:.48}
[data-lpc-profile-calendar] svg{display:block;flex:0 0 auto}

/* Header */
.lpc-profile-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid var(--cal-border);border-radius:16px;background:var(--cal-surface);box-shadow:0 1px 0 rgba(17,57,94,.02)}
.lpc-profile-calendar-heading{display:flex;align-items:center;gap:13px;min-width:0}
.lpc-profile-calendar-heading-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #b9d8e7;border-radius:12px;background:#f1fafc;color:var(--cal-teal)}
.lpc-profile-calendar-heading-icon svg{width:19px;height:19px}
.lpc-profile-calendar-heading>div{min-width:0}
.lpc-profile-calendar-heading>div>span{display:block;margin:0 0 2px;color:var(--cal-teal);font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.lpc-profile-calendar-heading h2{margin:0;color:var(--cal-navy);font-size:21px;line-height:1.14;font-weight:800;letter-spacing:-.015em}
.lpc-profile-calendar-heading p{margin:4px 0 0;max-width:620px;color:var(--cal-muted);font-size:13px;line-height:1.45}
.lpc-profile-calendar-plan{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:0 0 auto!important;min-width:0!important;min-height:42px!important;padding:0 16px!important;border:1px solid var(--cal-gold-border)!important;border-radius:10px!important;background:var(--cal-gold)!important;color:var(--cal-navy-2)!important;font-size:12.5px!important;line-height:1!important;font-weight:800!important;box-shadow:0 2px 6px rgba(137,87,20,.10)!important;transition:background-color .14s ease,border-color .14s ease,box-shadow .14s ease!important}
.lpc-profile-calendar-plan svg{width:14px;height:14px;stroke-width:2}
@media(hover:hover) and (pointer:fine){.lpc-profile-calendar-plan:hover{background:var(--cal-gold-hover)!important;border-color:#d58d29!important;color:var(--cal-navy-2)!important;box-shadow:0 4px 10px rgba(137,87,20,.10)!important;transform:none!important}}
.lpc-profile-calendar-plan:active{background:var(--cal-gold-press)!important;border-color:#cc8121!important;transform:none!important;box-shadow:0 1px 3px rgba(137,87,20,.10)!important}

/* Planner toolbar: component-width-driven layout. Keep one layout owner here,
   not conflicting viewport media queries when Profile has a sidebar. */
.lpc-profile-calendar-toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"itinerary" "period" "views";
    gap:10px;
    align-items:stretch;
    min-width:0;
    width:100%;
    padding:14px;
    border:1px solid var(--cal-border);
    border-radius:16px;
    background:var(--cal-surface);
}
.lpc-profile-calendar-toolbar > *{min-width:0;max-width:100%;margin:0}
.lpc-profile-calendar-itinerary-picker{grid-area:itinerary;display:grid;grid-template-rows:auto minmax(44px,auto);gap:6px;min-width:0;width:100%;color:var(--cal-navy)}
.lpc-profile-calendar-itinerary-picker>span{padding-left:1px;color:#657991;font-size:11px;font-weight:800;letter-spacing:.065em;text-transform:uppercase}
.lpc-profile-calendar-itinerary-picker select{
    display:block;width:100%;max-width:100%;min-width:0;height:44px;min-height:44px;
    margin:0;padding:0 36px 0 13px;border:1px solid var(--cal-border-strong);
    border-radius:10px;background-color:#fff;color:var(--cal-text);
    font-size:14px;font-weight:700;line-height:1.25;box-shadow:none;
    cursor:pointer;transition:border-color .14s ease,background-color .14s ease;
}
.lpc-profile-calendar-itinerary-picker select:hover{border-color:#9fb9d1;background-color:#fbfdff}
.lpc-profile-calendar-itinerary-picker select:focus-visible{
    border:2px solid #397eb4!important;
    outline:0!important;box-shadow:none!important;
}
.lpc-profile-calendar-period{
    grid-area:period;display:grid;
    grid-template-columns:42px minmax(0,1fr) 42px auto;
    grid-template-rows:minmax(44px,auto);
    align-items:center;gap:7px;min-width:0;width:100%;margin:0;
}
.lpc-calendar-icon-button,.lpc-calendar-today-button{
    display:inline-grid!important;place-items:center!important;
    justify-self:stretch;align-self:stretch;min-width:0!important;
    width:100%;height:44px!important;min-height:44px!important;
    margin:0!important;padding:0 10px!important;
    border:1px solid var(--cal-border)!important;border-radius:10px!important;
    background:#fff!important;color:var(--cal-navy)!important;
    transform:none!important;
    transition:background-color .14s ease,border-color .14s ease,color .14s ease!important;
}
.lpc-calendar-icon-button svg{width:15px;height:15px}
.lpc-calendar-today-button{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-width:62px!important;padding:0 12px!important;
    font-size:12.5px!important;font-weight:760!important;white-space:nowrap;
}
@media(hover:hover) and (pointer:fine){.lpc-calendar-icon-button:hover,.lpc-calendar-today-button:hover{background:var(--cal-blue-soft)!important;border-color:#b5ccde!important;color:var(--cal-navy-2)!important}}
.lpc-calendar-icon-button:active,.lpc-calendar-today-button:active{background:#e3eff8!important;border-color:#9fbcd3!important}
.lpc-profile-calendar-period-label{
    display:grid;place-items:center;align-self:stretch;
    gap:2px;min-width:0;max-width:100%;padding:2px 4px;
    text-align:center;overflow:hidden;
}
.lpc-profile-calendar-period-label span{display:block;color:#8190a3;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.lpc-profile-calendar-period-label strong{
    display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;
    color:var(--cal-navy);font-size:15px;line-height:1.2;
    font-weight:820;letter-spacing:-.01em;white-space:nowrap;
}
.lpc-profile-calendar-tools{
    grid-area:views;display:flex;align-items:center;justify-content:stretch;
    min-width:0;max-width:100%;width:100%;margin:0;
}
.lpc-profile-calendar-segment{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:center;gap:3px;min-width:0;width:100%;
    margin:0;padding:3px;border:1px solid var(--cal-border);
    border-radius:11px;background:#f4f7fa;
}
.lpc-profile-calendar-segment button{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:6px!important;min-width:0!important;width:100%!important;height:40px!important;
    min-height:40px!important;margin:0!important;padding:0 10px!important;
    border:1px solid transparent!important;border-radius:8px!important;
    background:transparent!important;color:#66768b!important;
    font-size:12px!important;font-weight:760!important;line-height:1.2!important;
    white-space:nowrap;transform:none!important;
    transition:background-color .14s ease,color .14s ease,border-color .14s ease!important;
}
.lpc-profile-calendar-segment button svg{width:14px;height:14px}
@media(hover:hover) and (pointer:fine){.lpc-profile-calendar-segment button:not(.is-active):hover{background:#fff!important;color:var(--cal-navy)!important;border-color:#d1ddea!important}}
.lpc-profile-calendar-segment button.is-active{background:var(--cal-navy)!important;color:#fff!important;border-color:var(--cal-navy)!important}
.lpc-profile-calendar-segment button.is-active:hover,.lpc-profile-calendar-segment button.is-active:active{background:var(--cal-navy-2)!important;color:#fff!important;border-color:var(--cal-navy-2)!important}
.lpc-profile-calendar-segment button:not(.is-active):active{background:#e6eff8!important;color:var(--cal-navy)!important}

/* A two-row toolbar within the actual Calendar content width. */
@container lpc-profile-calendar (min-width:650px){
    .lpc-profile-calendar-toolbar{
        grid-template-columns:minmax(0,1fr) max-content;
        grid-template-areas:"itinerary itinerary" "period views";
        align-items:end;
        column-gap:12px;
    }
    .lpc-profile-calendar-tools{width:auto;justify-content:flex-end}
    .lpc-profile-calendar-segment{width:auto;grid-template-columns:repeat(2,max-content)}
}
/* Fit all three controls side by side only when there is truly room. */
@container lpc-profile-calendar (min-width:980px){
    .lpc-profile-calendar-toolbar{
        grid-template-columns:minmax(260px,1.1fr) minmax(325px,1fr) max-content;
        grid-template-areas:"itinerary period views";
        align-items:end;
    }
}
@container lpc-profile-calendar (max-width:650px){
    .lpc-profile-calendar-itinerary-picker select{font-size:16px}
}
/* Today has a dedicated line when the Calendar is genuinely narrow. */
@container lpc-profile-calendar (max-width:440px){
    .lpc-profile-calendar-toolbar{padding:11px;gap:10px}
    .lpc-profile-calendar-period{
        grid-template-columns:42px minmax(0,1fr) 42px;
        grid-template-rows:44px auto;
    }
    .lpc-profile-calendar-period .lpc-calendar-today-button{grid-column:1 / -1!important;grid-row:2!important;width:100%!important;height:40px!important;min-height:40px!important}
    .lpc-profile-calendar-itinerary-picker select{font-size:16px}
}
/* Focused itinerary */
.lpc-profile-calendar-trip-focus{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid #b9d3e8;border-radius:14px;background:linear-gradient(90deg,#f3f9fd 0%,#f9fcff 100%)}
.lpc-profile-calendar-trip-focus-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#e5f2fb;color:var(--cal-blue)}
.lpc-profile-calendar-trip-focus-icon svg{width:18px;height:18px}
.lpc-profile-calendar-trip-focus-copy{min-width:0}
.lpc-profile-calendar-trip-focus-copy>span{display:block;color:#6c83a0;font-size:10.5px;font-weight:800;letter-spacing:.065em;text-transform:uppercase}
.lpc-profile-calendar-trip-focus-copy>strong{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--cal-navy);font-size:14px;font-weight:820}
.lpc-profile-calendar-trip-focus-copy>p{margin:3px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667991;font-size:12px;line-height:1.4}
.lpc-profile-calendar-trip-focus-copy>p b{color:#46617f;font-weight:740}
.lpc-profile-calendar-trip-focus-actions{display:flex;align-items:center;gap:7px}
.lpc-profile-calendar-trip-focus-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:36px!important;padding:0 11px!important;border-radius:9px!important;font-size:12px!important;font-weight:760!important;transition:background-color .14s ease,border-color .14s ease,color .14s ease!important}
.lpc-profile-calendar-trip-focus-actions button svg{width:12px;height:12px}
.lpc-profile-calendar-trip-focus-actions .is-secondary{border:1px solid #cbd9e6!important;background:#fff!important;color:#526b87!important}
.lpc-profile-calendar-trip-focus-actions .is-primary{border:1px solid var(--cal-navy)!important;background:var(--cal-navy)!important;color:#fff!important}
@media(hover:hover) and (pointer:fine){.lpc-profile-calendar-trip-focus-actions .is-secondary:hover{border-color:#abc3d7!important;background:#f4f9fd!important;color:var(--cal-navy)!important}.lpc-profile-calendar-trip-focus-actions .is-primary:hover{background:var(--cal-navy-2)!important;border-color:var(--cal-navy-2)!important}}

/* Calendar summary */
.lpc-profile-calendar-summary{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap}
.lpc-profile-calendar-summary>span{display:inline-flex;align-items:baseline;gap:4px;min-height:28px;padding:5px 9px;border:1px solid #dce6ef;border-radius:9px;background:#fff;color:#748399;font-size:11px;font-weight:620;line-height:1.1}
.lpc-profile-calendar-summary strong{color:var(--cal-navy);font-size:12.5px;font-weight:820}
.lpc-profile-calendar-summary .is-warning{border-color:#ecd8a9;background:var(--cal-warning-soft);color:var(--cal-warning)}
.lpc-profile-calendar-summary .is-warning strong{color:var(--cal-warning)}

/* Context / empty month notices */
.lpc-profile-calendar-context-note{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 11px;border:1px solid #cfe0ee;border-radius:12px;background:#f7fbfe;color:#5d718a}
.lpc-profile-calendar-context-note>svg{width:15px;height:15px;color:var(--cal-blue);justify-self:center}
.lpc-profile-calendar-context-note>span{min-width:0}
.lpc-profile-calendar-context-note strong,.lpc-profile-calendar-context-note small{display:block}
.lpc-profile-calendar-context-note strong{color:var(--cal-navy);font-size:12px;font-weight:780}
.lpc-profile-calendar-context-note small{margin-top:2px;color:#71829a;font-size:9.8px;line-height:1.4}
.lpc-profile-calendar-context-note>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;padding:0 10px!important;border:1px solid #c2d4e4!important;border-radius:8px!important;background:#fff!important;color:var(--cal-navy)!important;font-size:11.5px!important;font-weight:740!important}
@media(hover:hover) and (pointer:fine){.lpc-profile-calendar-context-note>button:hover{background:var(--cal-blue-soft)!important;border-color:#a9c5dd!important}}
.lpc-profile-calendar-context-note.is-warning{border-color:#ead9ad;background:#fffaf0}.lpc-profile-calendar-context-note.is-warning>svg,.lpc-profile-calendar-context-note.is-warning strong{color:var(--cal-warning)}

/* Journey calendar — compact grid and legible day content. One layout owner. */
.lpc-profile-calendar-month{
    min-width:0;overflow:hidden;border:1px solid var(--cal-border-strong);
    border-radius:16px;background:#fff;box-shadow:0 3px 14px rgba(19,52,87,.045);
}
.lpc-profile-calendar-weekdays{
    display:grid;grid-template-columns:repeat(7,minmax(0,1fr));
    border-bottom:1px solid #dce5ef;background:#f0f5fa;
}
.lpc-profile-calendar-weekdays span{
    padding:11px 2px;text-align:center;font-size:11px;line-height:1.15;
    font-weight:800;letter-spacing:.045em;text-transform:uppercase;color:#526a86;
}
.lpc-profile-calendar-grid{
    display:grid;grid-template-columns:repeat(7,minmax(0,1fr));
    grid-auto-rows:minmax(78px,auto);gap:1px;min-width:0;background:#e0e8f0;
}
.lpc-profile-calendar-day{
    position:relative;display:flex;flex-direction:column;gap:2px;min-width:0;
    min-height:78px;padding:7px 7px 6px;background:#fff;
    transition:background-color .12s ease;
}
.lpc-profile-calendar-day.is-weekend{background:#fafcff}
.lpc-profile-calendar-day.is-outside{background:#f6f8fb}
.lpc-profile-calendar-day.has-trip-range{background:#fbfdff}
.lpc-profile-calendar-day.is-outside.has-trip-range{background:#f5f9fd}
.lpc-profile-calendar-day:focus-within{z-index:2;background:#f2f8fd}
@media(hover:hover) and (pointer:fine){.lpc-profile-calendar-day:hover{background:#f3f8fd}}
.lpc-profile-calendar-month.is-empty .lpc-profile-calendar-grid{grid-auto-rows:52px}
.lpc-profile-calendar-month.is-empty .lpc-profile-calendar-day{min-height:52px}
.lpc-profile-calendar-day-head{
    display:flex;align-items:center;justify-content:space-between;gap:3px;
    min-width:0;min-height:26px;
}
.lpc-profile-calendar-day-head time{
    display:grid;place-items:center;flex:0 0 25px;
    width:25px;height:25px;border-radius:8px;
    font-size:12px;font-weight:800;line-height:1;
    font-variant-numeric:tabular-nums;color:#304a67;
}
.lpc-profile-calendar-day.is-outside .lpc-profile-calendar-day-head time{color:#a1b0c3}
.lpc-profile-calendar-day.is-today .lpc-profile-calendar-day-head time{background:#0e6e69;color:#fff}
.lpc-profile-calendar-today-indicator{
    display:inline-flex;align-items:center;padding:3px 5px;border-radius:5px;
    font-size:9px;font-weight:800;line-height:1.1;color:#086b65;background:#e3f6f2;
}
.lpc-profile-calendar-day-count{
    display:inline-grid;place-items:center;min-width:18px;height:18px;
    padding:0 4px;border-radius:6px;background:#ecf3f9;
    color:#426587;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums;
}
/* Journey ribbons align by week, with their actual ends rounded. */
.lpc-profile-calendar-trip-lanes{
    display:grid;grid-auto-rows:19px;gap:3px;align-items:stretch;
    margin:1px 0 3px;min-width:0;
}
.lpc-profile-calendar-trip-slot{display:block;height:19px;min-width:0}
.lpc-profile-calendar-trip-range{
    display:flex!important;align-items:center!important;
    min-width:0!important;width:calc(100% + 14px)!important;height:19px!important;
    margin:0 -7px!important;padding:0 6px!important;
    border:0!important;border-radius:0!important;
    background:#225b82!important;color:#fff!important;
    text-align:left!important;overflow:hidden!important;
    font:inherit;box-shadow:none!important;transform:none!important;
    transition:background-color .12s ease!important;
}
.lpc-profile-calendar-trip-range span{
    display:block;min-width:0;max-width:100%;overflow:hidden;
    text-overflow:ellipsis;white-space:nowrap;
    color:inherit;font-size:10px;font-weight:800;line-height:1.1;letter-spacing:.002em;
}
.lpc-profile-calendar-trip-range.is-start{
    width:calc(100% + 7px)!important;margin-left:0!important;
    padding-left:7px!important;border-radius:6px 0 0 6px!important;
}
.lpc-profile-calendar-trip-range.is-end{
    width:calc(100% + 7px)!important;margin-right:0!important;
    border-radius:0 6px 6px 0!important;
}
.lpc-profile-calendar-trip-range.is-start.is-end,
.lpc-profile-calendar-trip-range.is-single{
    width:100%!important;margin:0!important;border-radius:6px!important;
}
.lpc-profile-calendar-trip-range.is-shared{background:#0f827c!important;color:#fff!important}
.lpc-profile-calendar-trip-range.is-selected{background:#143967!important;color:#fff!important}
@media(hover:hover) and (pointer:fine){
    .lpc-profile-calendar-trip-range:hover{background:#174c70!important;color:#fff!important}
    .lpc-profile-calendar-trip-range.is-shared:hover{background:#086963!important}
    .lpc-profile-calendar-trip-range.is-selected:hover{background:#0b2a51!important}
}
.lpc-profile-calendar-trip-range:active{background:#174c70!important;transform:none!important}
.lpc-profile-calendar-trip-overflow{
    display:inline-flex;align-items:center;color:#627994;
    font-size:10px;font-weight:800;line-height:1;
}
/* Month events are compact day actions, not duplicate journey cards.
   The itinerary ribbon above them already identifies the trip. */
.lpc-profile-calendar-day-events{display:grid;align-content:start;gap:4px;min-width:0}
.lpc-profile-calendar-event{
    min-width:0!important;width:100%!important;min-height:0!important;
    border:1px solid transparent!important;border-radius:9px!important;
    text-align:left!important;color:var(--cal-navy)!important;
    background:transparent!important;transform:none!important;
    transition:background-color .13s ease,border-color .13s ease!important;
}
.lpc-profile-calendar-event.is-compact{
    display:block!important;min-height:57px!important;
    padding:7px 8px 8px!important;border:1px solid #d9e5ef!important;
    border-radius:9px!important;background:#fff!important;
    box-shadow:0 1px 1px rgba(18,58,120,.025)!important;
}
.lpc-profile-calendar-event.is-compact.is-shared{
    border-color:#cde6df!important;background:#fcfffe!important;
}
.lpc-profile-calendar-event.is-compact.is-focused{
    border-color:#aacbe1!important;background:#f5faff!important;
}
.lpc-profile-calendar-event.is-agenda{
    display:grid!important;grid-template-columns:3px minmax(0,1fr) auto;
    align-items:center;gap:8px;min-height:62px!important;
    padding:11px 12px!important;background:#fff!important;
    border-color:#dde7ef!important;border-radius:10px!important;
}
.lpc-profile-calendar-event-dot{width:3px;height:23px;border-radius:9px;background:#2e799e}
.lpc-profile-calendar-event.is-shared .lpc-profile-calendar-event-dot{background:#0f827c}
.lpc-profile-calendar-event.is-focused .lpc-profile-calendar-event-dot{background:#153e72}
.lpc-profile-calendar-event-copy{display:block;min-width:0;max-width:100%}
.lpc-profile-calendar-event-copy strong,.lpc-profile-calendar-event-copy small{
    display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.lpc-profile-calendar-event-copy strong{color:#163b69;font-size:12px;font-weight:750;line-height:1.35}
.lpc-profile-calendar-event-copy small{margin-top:2px;color:#60758d;font-size:11px;font-weight:580;line-height:1.25}
.lpc-profile-calendar-event.is-compact .lpc-profile-calendar-event-copy strong{
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    line-clamp:2;white-space:normal;overflow:hidden;text-overflow:ellipsis;
    margin:4px 0 0;color:#143e68;font-size:12px;font-weight:745;
    line-height:1.27;overflow-wrap:anywhere;
}
.lpc-profile-calendar-event-topline{
    display:flex;align-items:center;justify-content:space-between;gap:4px;
    min-width:0;max-width:100%;min-height:14px;
}
.lpc-profile-calendar-event-day-label{
    display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    color:#52758f;font-size:10px;font-weight:790;line-height:1.25;
    text-transform:uppercase;letter-spacing:.035em;
}
.lpc-profile-calendar-event-activity-count{
    display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;
    gap:3px;color:#397194;font-size:10px;font-weight:780;line-height:1;
    font-variant-numeric:tabular-nums;
}
.lpc-profile-calendar-event-activity-count svg{width:12px;height:12px;stroke-width:1.8}
.lpc-profile-calendar-event.is-compact.is-shared .lpc-profile-calendar-event-day-label,
.lpc-profile-calendar-event.is-compact.is-shared .lpc-profile-calendar-event-activity-count{color:#0b7772}
.lpc-profile-calendar-event.is-agenda .lpc-profile-calendar-event-copy strong{font-size:14px}
.lpc-profile-calendar-event.is-agenda .lpc-profile-calendar-event-copy small{font-size:12px}
.lpc-profile-calendar-event-counts{display:flex;align-items:center;gap:8px;color:#60758d}
.lpc-profile-calendar-event-counts em{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;font-style:normal}
.lpc-profile-calendar-event-counts svg{width:13px;height:13px}
@media(hover:hover) and (pointer:fine){
    .lpc-profile-calendar-event.is-compact:hover{background:#f0f7fc!important;border-color:#aacbdd!important;color:#14375f!important;transform:none!important}
    .lpc-profile-calendar-event.is-compact.is-shared:hover{background:#f0faf8!important;border-color:#9ccfc3!important;transform:none!important}
    .lpc-profile-calendar-event.is-agenda:hover{background:#f4f9fd!important;border-color:#b4d0e3!important}
}
.lpc-profile-calendar-event:active{transform:none!important}
.lpc-profile-calendar-event.is-compact:active{background:#eaf3f9!important;border-color:#91b7d1!important}
.lpc-profile-calendar-event.is-compact:focus-visible{
    outline:2px solid #236fa7!important;outline-offset:0!important;
    border-color:transparent!important;box-shadow:none!important;
}
.lpc-profile-calendar-more{
    justify-self:start;min-height:22px!important;padding:0 6px!important;
    border:0!important;border-radius:6px!important;background:transparent!important;
    color:#2a628e!important;font-size:10px!important;font-weight:790!important;
    text-align:left!important;transform:none!important;
}
@media(hover:hover) and (pointer:fine){.lpc-profile-calendar-more:hover{background:#e6f0f8!important;color:#143d6a!important}}
.lpc-profile-calendar-event-cache[hidden]{display:none!important}
.lpc-profile-calendar-mobile-open{display:none!important}
.lpc-profile-calendar-month button:focus-visible{
    outline:2px solid #14578a!important;outline-offset:-2px!important;box-shadow:none!important;
}
.lpc-profile-calendar-event.is-compact:focus-visible{outline-offset:0!important}

/* Agenda */
.lpc-profile-calendar-agenda{display:grid;gap:10px}
.lpc-profile-calendar-agenda-day{display:grid;grid-template-columns:126px minmax(0,1fr);overflow:hidden;border:1px solid var(--cal-border);border-radius:14px;background:#fff}
.lpc-profile-calendar-agenda-day>header{display:flex;align-items:center;gap:10px;padding:12px;border-right:1px solid var(--cal-border);background:#f7f9fc}
.lpc-profile-calendar-agenda-day>header time{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:11px;background:#fff;color:var(--cal-navy);box-shadow:inset 0 0 0 1px #d8e3ed}
.lpc-profile-calendar-agenda-day>header time strong{font-size:18px;line-height:1;font-weight:820}.lpc-profile-calendar-agenda-day>header time span{margin-top:1px;color:#77879b;font-size:10px;font-weight:800;text-transform:uppercase}
.lpc-profile-calendar-agenda-day>header>div strong,.lpc-profile-calendar-agenda-day>header>div span{display:block}.lpc-profile-calendar-agenda-day>header>div strong{color:var(--cal-navy);font-size:12px;font-weight:780}.lpc-profile-calendar-agenda-day>header>div span{margin-top:2px;color:#7a899c;font-size:10.5px}
.lpc-profile-calendar-agenda-day>div{display:grid;gap:6px;padding:9px}

/* Empty states */
.lpc-profile-calendar-empty{display:grid;place-items:center;gap:7px;padding:30px 18px;border:1px dashed #cfdce8;border-radius:14px;background:#fbfcfe;text-align:center}
.lpc-profile-calendar-empty>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--cal-blue-soft);color:var(--cal-blue)}.lpc-profile-calendar-empty>span svg{width:18px;height:18px}
.lpc-profile-calendar-empty>strong{color:var(--cal-navy);font-size:13px;font-weight:800}.lpc-profile-calendar-empty>p{max-width:440px;margin:0;color:var(--cal-muted);font-size:12px;line-height:1.5}
.lpc-profile-calendar-empty-actions{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:3px}.lpc-profile-calendar-empty-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:36px!important;padding:0 11px!important;border-radius:9px!important;font-size:12px!important;font-weight:760!important}.lpc-profile-calendar-empty-actions .is-secondary{border:1px solid #cad8e5!important;background:#fff!important;color:var(--cal-navy)!important}.lpc-profile-calendar-empty-actions .is-primary{border:1px solid var(--cal-gold-border)!important;background:var(--cal-gold)!important;color:var(--cal-navy-2)!important}
@media(hover:hover) and (pointer:fine){.lpc-profile-calendar-empty-actions .is-secondary:hover{background:var(--cal-blue-soft)!important}.lpc-profile-calendar-empty-actions .is-primary:hover{background:var(--cal-gold-hover)!important}}

/* Needs scheduling */
.lpc-profile-calendar-unscheduled{display:grid;gap:10px;padding:12px;border:1px solid #eadbb7;border-radius:14px;background:#fffaf1}
.lpc-profile-calendar-unscheduled-head{display:flex;align-items:center;gap:9px}.lpc-profile-calendar-unscheduled-head>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff2d5;color:var(--cal-warning)}.lpc-profile-calendar-unscheduled-head>span svg{width:14px;height:14px}.lpc-profile-calendar-unscheduled-head>div{min-width:0}.lpc-profile-calendar-unscheduled-head strong{display:block;color:#7b551a;font-size:12.5px;font-weight:800}.lpc-profile-calendar-unscheduled-head p{margin:2px 0 0;color:#91713f;font-size:11px;line-height:1.4}
.lpc-profile-calendar-unscheduled-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.lpc-profile-calendar-unscheduled-item{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%!important;min-width:0!important;min-height:48px!important;padding:7px 8px!important;border:1px solid #eadbb7!important;border-radius:10px!important;background:#fff!important;color:var(--cal-text)!important;text-align:left!important}.lpc-profile-calendar-unscheduled-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff5df;color:var(--cal-warning)}.lpc-profile-calendar-unscheduled-icon svg{width:13px;height:13px}.lpc-profile-calendar-unscheduled-item>span:nth-child(2){min-width:0}.lpc-profile-calendar-unscheduled-item strong,.lpc-profile-calendar-unscheduled-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lpc-profile-calendar-unscheduled-item strong{color:#6f4b16;font-size:12px;font-weight:780}.lpc-profile-calendar-unscheduled-item small{margin-top:2px;color:#8b714b;font-size:10.5px}.lpc-profile-calendar-unscheduled-action{color:#815916;font-size:10.5px;font-weight:800}
@media(hover:hover) and (pointer:fine){.lpc-profile-calendar-unscheduled-item:hover{border-color:#d8bd82!important;background:#fffdf8!important}.lpc-profile-calendar-unscheduled-item:hover .lpc-profile-calendar-unscheduled-action{text-decoration:underline}}

/* First trip prompt */
.lpc-profile-calendar-first-trip{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #cfe0ee;border-radius:13px;background:#f8fbfe}.lpc-profile-calendar-first-trip>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--cal-blue-soft);color:var(--cal-blue)}.lpc-profile-calendar-first-trip>span svg{width:16px;height:16px}.lpc-profile-calendar-first-trip>div strong{display:block;color:var(--cal-navy);font-size:12px;font-weight:780}.lpc-profile-calendar-first-trip>div p{margin:2px 0 0;color:var(--cal-muted);font-size:11px;line-height:1.4}.lpc-profile-calendar-first-trip>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:36px!important;padding:0 11px!important;border:1px solid var(--cal-gold-border)!important;border-radius:9px!important;background:var(--cal-gold)!important;color:var(--cal-navy-2)!important;font-size:11.5px!important;font-weight:780!important}.lpc-profile-calendar-first-trip>button svg{width:12px;height:12px}

/* Details modal */
html.lpc-profile-calendar-modal-open,body.lpc-profile-calendar-modal-open{overflow:hidden!important}
.lpc-profile-calendar-dialog[hidden]{display:none!important}.lpc-profile-calendar-dialog{position:fixed;z-index:2147482500;inset:0;display:grid;place-items:center;padding:18px}.lpc-profile-calendar-dialog-backdrop{position:absolute;inset:0;background:rgba(10,31,55,.58);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.lpc-profile-calendar-dialog-card{position:relative;z-index:1;width:min(520px,100%);max-height:calc(100vh - 36px);overflow:hidden;border:1px solid #d6e1eb;border-radius:17px;background:#fff;box-shadow:0 24px 70px rgba(5,24,47,.28);display:grid;grid-template-rows:auto minmax(0,1fr)}
.lpc-profile-calendar-dialog-card:focus,.lpc-profile-calendar-dialog-card:focus-visible{outline:0!important;outline-offset:0!important}
.lpc-profile-calendar-dialog-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:15px 16px;border-bottom:1px solid #e2e9f0;background:#fff}.lpc-profile-calendar-dialog-card>header>div{min-width:0}.lpc-profile-calendar-dialog-card>header span{display:block;color:#6d82a0;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.lpc-profile-calendar-dialog-card>header h3{margin:3px 0 0;color:var(--cal-navy);font-size:17px;line-height:1.2;font-weight:820;letter-spacing:-.01em}
.lpc-calendar-dialog-close{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;padding:0!important;border:1px solid #d5e0ea!important;border-radius:10px!important;background:#fff!important;color:#5f7188!important;transition:background-color .14s ease,border-color .14s ease,color .14s ease!important}.lpc-calendar-dialog-close svg{width:14px;height:14px}@media(hover:hover) and (pointer:fine){.lpc-calendar-dialog-close:hover{border-color:#b9ccdc!important;background:#f3f7fb!important;color:var(--cal-navy)!important}}.lpc-calendar-dialog-close:active{background:#e8f0f7!important}
.lpc-profile-calendar-dialog-body{min-height:0;overflow:auto;padding:16px}
/* Day detail overlay: itinerary identity, day number, journey dates, actions. */
.lpc-calendar-detail{display:grid;gap:15px;min-width:0}
.lpc-calendar-detail-hero{
    display:grid;gap:8px;padding:19px 20px;border:1px solid #d4e4ef;
    border-radius:14px;background:linear-gradient(130deg,#f0f7fb,#ffffff 80%);
}
.lpc-calendar-detail-day-index{
    display:inline-flex;align-items:center;gap:6px;justify-self:start;
    color:#0a6c70;font-size:11px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;
}
.lpc-calendar-detail-day-index svg{width:15px;height:15px}
.lpc-calendar-detail-hero h4{
    margin:0;color:#153660;font-size:21px;line-height:1.2;font-weight:800;letter-spacing:-.018em;
    overflow-wrap:anywhere;
}
.lpc-calendar-detail-byline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#576d88;font-size:12px;font-weight:630}
.lpc-calendar-detail-byline>span:not(:first-child){display:inline-flex;align-items:center;gap:4px;padding-left:8px;border-left:1px solid #cddce8}
.lpc-calendar-detail-byline svg{width:13px;height:13px;color:#0c7775}
.lpc-calendar-detail-journey{
    display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;
    gap:11px;padding:13px;border:1px solid #dce5ee;border-radius:12px;background:#fff;
}
.lpc-calendar-detail-journey-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#e7f1f9;color:#195f93}
.lpc-calendar-detail-journey-icon svg{width:19px;height:19px}
.lpc-calendar-detail-journey>div{display:grid;gap:3px;min-width:0}
.lpc-calendar-detail-journey-label{color:#70829b;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.lpc-calendar-detail-journey strong{color:#143863;font-size:14px;font-weight:790;line-height:1.3}
.lpc-calendar-detail-journey-duration{justify-self:end;padding:6px 9px;border-radius:100px;background:#e5f4f1;color:#086f68;font-size:11px;font-weight:800;white-space:nowrap}
.lpc-calendar-detail-description{display:grid;gap:6px;padding:0 1px}
.lpc-calendar-detail-description h5{margin:0;color:#1e3f66;font-size:12px;font-weight:800}
.lpc-calendar-detail-description p{margin:0;color:#5b718a;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.lpc-calendar-detail-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.lpc-calendar-detail-stat{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #dfe9f1;border-radius:11px;background:#fbfdff}
.lpc-calendar-detail-stat>svg{width:18px;height:18px;color:#2276a0}
.lpc-calendar-detail-stat>div{display:grid;gap:2px}
.lpc-calendar-detail-stat strong{color:#183963;font-size:15px;font-weight:800;line-height:1}
.lpc-calendar-detail-stat span{color:#667d93;font-size:11px;font-weight:640}
.lpc-calendar-detail-actions{
    display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;
    padding-top:13px;border-top:1px solid #e6edf3;
}
.lpc-calendar-detail-actions button{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
    min-height:42px!important;padding:0 14px!important;border-radius:9px!important;
    font-size:12px!important;font-weight:760!important;transform:none!important;
}
.lpc-calendar-detail-actions button svg{width:15px;height:15px}
.lpc-calendar-detail-actions .is-secondary{border:1px solid #cddde9!important;background:#fff!important;color:#153e70!important}
.lpc-calendar-detail-actions .is-primary{border:1px solid #173d6f!important;background:#173d6f!important;color:#fff!important}
@media(hover:hover) and (pointer:fine){
    .lpc-calendar-detail-actions .is-secondary:hover{background:#edf5fb!important;border-color:#aecade!important}
    .lpc-calendar-detail-actions .is-primary:hover{background:#0d2c54!important;border-color:#0d2c54!important}
}
.lpc-calendar-day-list{display:grid;gap:9px}
.lpc-calendar-day-list-item{
    display:grid!important;grid-template-columns:40px minmax(0,1fr) 20px;
    align-items:center;gap:12px;min-height:70px!important;width:100%!important;
    padding:11px 13px!important;border:1px solid #dfe8ef!important;
    border-radius:12px!important;background:#fff!important;
    color:#183e69!important;text-align:left!important;transform:none!important;
}
.lpc-calendar-day-list-item>span:first-child{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#e7f3f8;color:#116b80}
.lpc-calendar-day-list-item>span:first-child svg{width:20px;height:20px}
.lpc-calendar-day-list-item>span:nth-child(2){min-width:0}
.lpc-calendar-day-list-item strong,.lpc-calendar-day-list-item small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lpc-calendar-day-list-item strong{font-size:14px;font-weight:790;color:#163a67}
.lpc-calendar-day-list-item small{margin-top:4px;color:#637c94;font-size:11.5px;line-height:1.3}
.lpc-calendar-day-list-arrow{display:grid;place-items:center;color:#8298ac}
.lpc-calendar-day-list-arrow svg{width:16px;height:16px}
@media(hover:hover) and (pointer:fine){
    .lpc-calendar-day-list-item:hover{border-color:#a8c9df!important;background:#f3f9fd!important}
    .lpc-calendar-day-list-item:hover .lpc-calendar-day-list-arrow{color:#174474}
}

/* Schedule form */
.lpc-calendar-schedule-form{display:grid;gap:13px}.lpc-calendar-schedule-context{display:flex;align-items:center;gap:10px;padding:10px 11px;border:1px solid #e0e7ef;border-radius:10px;background:#f8fafc}.lpc-calendar-schedule-context>svg{width:16px;height:16px;color:var(--cal-blue)}.lpc-calendar-schedule-context>div{min-width:0}.lpc-calendar-schedule-context strong,.lpc-calendar-schedule-context span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lpc-calendar-schedule-context strong{color:var(--cal-navy);font-size:12.5px;font-weight:780}.lpc-calendar-schedule-context span{margin-top:2px;color:var(--cal-muted);font-size:11.5px}.lpc-calendar-schedule-field{display:grid;gap:6px;color:var(--cal-navy);font-size:12px;font-weight:760}.lpc-calendar-schedule-field input{width:100%;min-height:44px;padding:8px 10px;border:1px solid #cbd8e6;border-radius:9px;background:#fff;color:var(--cal-text);font:inherit;font-size:16px;font-weight:520;box-shadow:none}.lpc-calendar-schedule-field input:hover{border-color:#a9bdd2}.lpc-calendar-schedule-field input:focus,.lpc-calendar-schedule-field input:focus-visible{border:2px solid #286cad!important;outline:0!important;box-shadow:none!important}.lpc-calendar-schedule-field small{color:var(--cal-muted);font-size:11px;font-weight:520;line-height:1.45}.lpc-calendar-schedule-status{min-height:17px;color:#63738a;font-size:11.5px}.lpc-calendar-schedule-status.is-error{color:var(--cal-danger);font-weight:680}.lpc-calendar-schedule-actions{display:flex;justify-content:flex-end;gap:7px}.lpc-calendar-schedule-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:38px!important;padding:0 12px!important;border-radius:9px!important;font-size:12px!important;font-weight:760!important}.lpc-calendar-schedule-actions .is-secondary{border:1px solid #d2dce7!important;background:#fff!important;color:var(--cal-navy)!important}.lpc-calendar-schedule-actions .is-primary{border:1px solid var(--cal-navy)!important;background:var(--cal-navy)!important;color:#fff!important}.lpc-calendar-schedule-actions svg{width:12px;height:12px}@media(hover:hover) and (pointer:fine){.lpc-calendar-schedule-actions .is-secondary:hover{background:#f3f7fb!important}.lpc-calendar-schedule-actions .is-primary:hover{background:var(--cal-navy-2)!important}}.lpc-calendar-schedule-actions .is-primary:disabled{cursor:wait;opacity:.58}

@container lpc-profile-calendar (max-width:760px){
    .lpc-profile-calendar-head{padding:14px}
    .lpc-profile-calendar-heading h2{font-size:19px}
    .lpc-profile-calendar-heading p{font-size:12.5px}
    .lpc-profile-calendar-plan{min-height:40px!important;padding:0 13px!important}
    .lpc-profile-calendar-trip-focus{grid-template-columns:38px minmax(0,1fr)}
    .lpc-profile-calendar-trip-focus-actions{grid-column:1/-1;justify-content:flex-end}
    .lpc-profile-calendar-grid{grid-auto-rows:minmax(74px,auto)}
    .lpc-profile-calendar-day{min-height:74px;padding:5px}
    .lpc-profile-calendar-weekdays span{padding:9px 2px;font-size:10px}
    .lpc-profile-calendar-day-head{margin-bottom:5px}
    .lpc-profile-calendar-trip-lanes{grid-auto-rows:17px;gap:2px;margin-bottom:4px}
    .lpc-profile-calendar-trip-slot{height:17px}
    .lpc-profile-calendar-trip-range{
        height:17px!important;width:calc(100% + 10px)!important;
        margin-left:-5px!important;margin-right:-5px!important;
    }
    .lpc-profile-calendar-trip-range.is-start{width:calc(100% + 5px)!important}
    .lpc-profile-calendar-trip-range.is-end{width:calc(100% + 5px)!important}
    .lpc-profile-calendar-event.is-compact{min-height:52px!important;padding:6px!important}
    .lpc-profile-calendar-event.is-compact .lpc-profile-calendar-event-copy strong{font-size:11px}
    .lpc-profile-calendar-event-activity-count svg{width:11px;height:11px}
    .lpc-profile-calendar-agenda-day{grid-template-columns:1fr}
    .lpc-profile-calendar-agenda-day>header{border-right:0;border-bottom:1px solid var(--cal-border)}
    .lpc-profile-calendar-unscheduled-list{grid-template-columns:1fr}
}
/* At narrow Profile widths, seven date columns cannot carry readable
   day titles. Switch to the existing accessible plan-count button. */
@container lpc-profile-calendar (max-width:680px){
    .lpc-profile-calendar-event.is-compact,.lpc-profile-calendar-more{display:none!important}
    .lpc-profile-calendar-mobile-open{
        display:inline-flex!important;align-items:center!important;justify-content:center!important;
        gap:4px!important;width:100%!important;min-height:29px!important;
        padding:0 2px!important;border:1px solid #d0dfec!important;
        border-radius:7px!important;background:#eff6fc!important;
        color:var(--cal-navy)!important;font-size:10px!important;font-weight:760!important;
        line-height:1!important;transform:none!important;
    }
    .lpc-profile-calendar-mobile-open span:first-child{
        display:grid;place-items:center;min-width:16px;height:16px;
        padding:0 2px;border-radius:5px;background:#d8eafa;
        color:var(--cal-navy);font-size:10px;font-variant-numeric:tabular-nums;
    }
    @media(hover:hover) and (pointer:fine){
        .lpc-profile-calendar-mobile-open:hover{border-color:#accbdf!important;background:#e0f0fa!important}
    }
}
@container lpc-profile-calendar (max-width:560px){
    .lpc-profile-calendar-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
    .lpc-profile-calendar-heading{gap:9px}
    .lpc-profile-calendar-heading-icon{width:36px;height:36px;flex-basis:36px}
    .lpc-profile-calendar-heading-icon svg{width:16px;height:16px}
    .lpc-profile-calendar-heading h2{font-size:17px}
    .lpc-profile-calendar-heading p{display:none}
    .lpc-profile-calendar-plan{
        align-self:center;min-width:0!important;min-height:38px!important;
        padding:0 11px!important;border-radius:9px!important;font-size:12px!important;
    }
    .lpc-profile-calendar-trip-focus{grid-template-columns:34px minmax(0,1fr);padding:9px}
    .lpc-profile-calendar-trip-focus-icon{width:34px;height:34px}
    .lpc-profile-calendar-trip-focus-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
    .lpc-profile-calendar-trip-focus-actions button{width:100%}
    .lpc-profile-calendar-summary{gap:5px}
    .lpc-profile-calendar-summary>span{padding:5px 7px;font-size:10.5px}
    .lpc-profile-calendar-summary strong{font-size:12px}
    .lpc-profile-calendar-context-note{grid-template-columns:30px minmax(0,1fr);padding:9px}
    .lpc-profile-calendar-context-note>button{grid-column:2;justify-self:start;min-height:31px!important}
    .lpc-profile-calendar-weekdays span{padding:8px 1px;font-size:9px;letter-spacing:0}
    .lpc-profile-calendar-grid{grid-auto-rows:minmax(64px,auto)}
    .lpc-profile-calendar-day{min-height:64px;padding:4px 3px}
    .lpc-profile-calendar-day-head{margin-bottom:5px;gap:0}
    .lpc-profile-calendar-day-head time{width:21px;height:21px;flex-basis:21px;border-radius:7px;font-size:10.5px}
    .lpc-profile-calendar-today-indicator{padding:3px;font-size:0}
    .lpc-profile-calendar-today-indicator::after{content:'•';font-size:13px;line-height:8px}
    .lpc-profile-calendar-day-count{min-width:16px;height:16px;padding:0 2px;font-size:9px}
    .lpc-profile-calendar-trip-lanes{grid-auto-rows:12px;gap:2px;margin-bottom:4px}
    .lpc-profile-calendar-trip-slot{height:12px}
    .lpc-profile-calendar-trip-range{
        height:12px!important;width:calc(100% + 6px)!important;
        margin-left:-3px!important;margin-right:-3px!important;padding:0 2px!important;
    }
    .lpc-profile-calendar-trip-range.is-start{width:calc(100% + 3px)!important;padding-left:3px!important}
    .lpc-profile-calendar-trip-range.is-end{width:calc(100% + 3px)!important}
    .lpc-profile-calendar-trip-range span{font-size:0}
    .lpc-profile-calendar-trip-range.is-start span::after{content:'Trip';font-size:8px;font-weight:800}
    .lpc-profile-calendar-trip-overflow{font-size:8px;min-height:12px}
    .lpc-profile-calendar-dialog{padding:8px}
    .lpc-profile-calendar-dialog-card{max-height:calc(100vh - 16px);border-radius:14px}
    .lpc-profile-calendar-dialog-card>header{padding:12px 13px}
    .lpc-profile-calendar-dialog-body{padding:13px}
    .lpc-calendar-detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
    .lpc-calendar-detail-hero{padding:14px}
    .lpc-calendar-detail-hero h4{font-size:18px}
    .lpc-calendar-detail-journey{grid-template-columns:34px minmax(0,1fr)}
    .lpc-calendar-detail-journey-duration{grid-column:2;justify-self:start}
    .lpc-calendar-detail-actions{display:grid;grid-template-columns:1fr}
    .lpc-calendar-detail-actions button{width:100%}
    .lpc-calendar-schedule-actions{display:grid;grid-template-columns:1fr 1fr}
    .lpc-calendar-schedule-actions button{width:100%}
    .lpc-profile-calendar-first-trip{grid-template-columns:34px minmax(0,1fr)}
    .lpc-profile-calendar-first-trip>button{grid-column:1/-1;width:100%;justify-content:center}
}
@container lpc-profile-calendar (max-width:380px){
    .lpc-profile-calendar-heading>div>span{font-size:10px}
    .lpc-profile-calendar-heading h2{font-size:15.5px}
    .lpc-profile-calendar-plan span{display:none}
    .lpc-profile-calendar-plan{width:38px!important;min-width:38px!important;padding:0!important}
    .lpc-profile-calendar-weekdays span{font-size:9px}
    .lpc-profile-calendar-grid{grid-auto-rows:minmax(60px,auto)}
    .lpc-profile-calendar-day{min-height:60px;padding:4px 2px}
    .lpc-profile-calendar-day-head time{width:20px;height:20px;flex-basis:20px;font-size:10px}
    .lpc-profile-calendar-mobile-open{min-height:27px!important}
    .lpc-profile-calendar-mobile-open-label{display:none}
}
@media(prefers-reduced-motion:reduce){[data-lpc-profile-calendar] *{scroll-behavior:auto!important;transition:none!important}}
