﻿/* --- Planning collaboratif (UI moderne) --- */
.planning-toast-host {
    position: fixed;
    z-index: 200;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: min(380px, 92vw);
    pointer-events: none;
}

.planning-toast {
    padding: 0.85rem 1.05rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    background: linear-gradient(135deg, rgba(18, 28, 48, 0.96), rgba(10, 16, 28, 0.98));
    border: 1px solid rgba(1, 138, 223, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    color: rgba(255, 255, 255, 0.94);
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.planning-toast--in {
    opacity: 1;
    transform: translateX(0);
}

.planning-toast--success {
    border-color: rgba(35, 196, 130, 0.45);
}

.planning-toast--error {
    border-color: rgba(255, 92, 112, 0.55);
}

.planning-toast--info {
    border-color: rgba(120, 170, 255, 0.4);
}

.planning-app {
    width: 100%;
}

.planning-layout {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.planning-layout--client {
    margin-top: 1.25rem;
}

@media (max-width: 1100px) {
    .planning-layout {
        grid-template-columns: 1fr;
    }
}

.planning-sidebar--glass {
    background: linear-gradient(165deg, rgba(22, 32, 52, 0.88), rgba(12, 18, 32, 0.92)) !important;
    border: 1px solid rgba(1, 138, 223, 0.22) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(1, 138, 223, 0.08);
    backdrop-filter: blur(12px);
}

.planning-title {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(92deg, #ffffff, #7ec9ff 55%, #018adf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.planning-intro {
    margin: 0 0 1rem;
    color: rgba(220, 232, 248, 0.72);
    font-size: 0.9rem;
    line-height: 1.55;
}

.planning-block {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.planning-block h3,
.planning-block h4 {
    margin: 0 0 0.55rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.planning-sub {
    margin: 1rem 0 0.45rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.planning-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.planning-empty {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    padding: 0.35rem 0;
}

.planning-pick {
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.planning-pick:hover {
    border-color: rgba(1, 138, 223, 0.55);
    background: rgba(1, 138, 223, 0.12);
    box-shadow: 0 0 22px rgba(1, 138, 223, 0.15);
}

.planning-pick.is-active {
    border-color: rgba(1, 138, 223, 0.95);
    background: linear-gradient(135deg, rgba(1, 138, 223, 0.28), rgba(1, 138, 223, 0.12));
    box-shadow: 0 0 28px rgba(1, 138, 223, 0.22);
}

.planning-pick--edit::after {
    content: ' \2022 mod.';
    font-size: 0.75rem;
    opacity: 0.75;
}

.planning-invite-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.planning-invite-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    background: rgba(1, 138, 223, 0.1);
    border: 1px solid rgba(1, 138, 223, 0.28);
}

.planning-invite-meta {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.9);
    flex: 1 1 160px;
    line-height: 1.4;
}

.planning-inline-form {
    margin: 0;
}

.planning-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    font: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.planning-btn:hover {
    border-color: rgba(1, 138, 223, 0.6);
    background: rgba(1, 138, 223, 0.18);
}

.planning-btn--primary {
    border-color: rgba(1, 138, 223, 0.65);
    background: linear-gradient(135deg, #018adf, #0568a8);
    box-shadow: 0 8px 24px rgba(1, 138, 223, 0.28);
}

.planning-btn--primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 10px 28px rgba(1, 138, 223, 0.38);
}

.planning-btn--danger {
    border-color: rgba(255, 120, 130, 0.45);
    background: rgba(180, 40, 55, 0.25);
}

.planning-btn--danger:hover {
    background: rgba(200, 50, 65, 0.38);
}

.planning-btn--compact {
    padding: 0.38rem 0.75rem;
    font-size: 0.82rem;
}

.planning-btn--ghost {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 600;
    font-size: 0.82rem;
}

.planning-btn--ghost:hover {
    border-color: rgba(1, 138, 223, 0.45);
    background: rgba(1, 138, 223, 0.12);
}

.planning-fieldset {
    margin: 1rem 0 0.75rem;
    padding: 0.85rem 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
}

.planning-fieldset-legend {
    padding: 0 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(200, 220, 248, 0.88);
}

.planning-schedule-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.planning-radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(235, 242, 255, 0.9);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.planning-radio-pill input {
    margin: 0;
    accent-color: #018adf;
}

.planning-radio-pill:has(input:checked) {
    border-color: rgba(1, 138, 223, 0.75);
    background: rgba(1, 138, 223, 0.18);
    box-shadow: 0 0 20px rgba(1, 138, 223, 0.12);
}

.planning-schedule-block {
    margin-bottom: 0.35rem;
}

.planning-date-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.55rem 0.75rem;
}

.planning-date-field {
    flex: 1 1 160px;
    min-width: 0;
}

.planning-date-row .planning-today-btn {
    flex: 0 0 auto;
    margin-bottom: 0.05rem;
    white-space: nowrap;
}

.planning-repeat-hint {
    margin: 0.65rem 0 0.45rem;
    font-size: 0.82rem;
    color: rgba(210, 225, 245, 0.72);
}

.planning-repeat-days {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.planning-day-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.38rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(230, 240, 255, 0.88);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.planning-day-chip input {
    margin: 0;
    accent-color: #018adf;
}

.planning-day-chip:has(input:checked) {
    border-color: rgba(1, 138, 223, 0.65);
    background: rgba(1, 138, 223, 0.16);
}

.planning-create-form label,
.planning-rename-form label,
.planning-rule-form label,
.planning-invite-form label,
.planning-event-form label {
    display: block;
    margin: 0.4rem 0 0.2rem;
    font-size: 0.82rem;
    color: rgba(210, 225, 245, 0.78);
}

.planning-create-form input[type="text"],
.planning-rename-form input[type="text"],
.planning-invite-form input[type="email"],
.planning-rule-form select,
.planning-event-form input,
.planning-event-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.58rem 0.72rem;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(6, 12, 24, 0.82);
    color: var(--white);
    font: inherit;
    box-sizing: border-box;
}

.planning-create-form input:focus,
.planning-rename-form input:focus,
.planning-invite-form input:focus,
.planning-rule-form select:focus,
.planning-event-form input:focus,
.planning-event-form textarea:focus {
    outline: none;
    border-color: rgba(1, 138, 223, 0.65);
    box-shadow: 0 0 0 3px rgba(1, 138, 223, 0.18);
}

.planning-time-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.planning-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.55rem;
    font-size: 0.86rem;
    cursor: pointer;
    color: rgba(230, 240, 255, 0.82);
}

.planning-access--nested {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.planning-rules-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.planning-rule-item form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    justify-content: space-between;
    font-size: 0.84rem;
}

.planning-main-panel {
    background: linear-gradient(175deg, rgba(20, 28, 48, 0.92), rgba(8, 12, 22, 0.94)) !important;
    border: 1px solid rgba(1, 138, 223, 0.18) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    padding: 1.15rem 1.25rem 1.35rem !important;
}

.planning-week-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.planning-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.planning-nav-btn:hover {
    border-color: rgba(1, 138, 223, 0.5);
    background: rgba(1, 138, 223, 0.14);
}

.planning-nav-btn--ghost {
    flex-shrink: 0;
}

.planning-nav-btn--accent {
    width: auto;
    padding: 0 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: auto;
    border-color: rgba(1, 138, 223, 0.55);
    background: rgba(1, 138, 223, 0.15);
}

.planning-week-label {
    font-weight: 700;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.96);
    min-width: 11rem;
    text-align: center;
    flex: 1 1 auto;
    letter-spacing: -0.02em;
}

.planning-selected-hint {
    margin: 0 0 0.85rem;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.9rem;
}

.planning-calendar-frame {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.25rem;
    padding: 0 0.25rem 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: #018adf #182032;
}

.planning-calendar-frame::-webkit-scrollbar {
    height: 8px;
}

.planning-calendar-frame::-webkit-scrollbar-thumb {
    background: rgba(1, 138, 223, 0.5);
    border-radius: 999px;
}

.planning-week-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(118px, 1fr));
    gap: 0.65rem;
    min-width: min(100%, 1080px);
    min-height: clamp(380px, 58vh, 680px);
}

.planning-day-col {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.planning-day-head {
    padding: 0.55rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.35rem;
    background: rgba(1, 138, 223, 0.06);
}

.planning-day-name {
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7ec9ff;
}

.planning-day-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.58);
}

.planning-day-col--today {
    border-color: rgba(1, 138, 223, 0.65);
    background: linear-gradient(
        180deg,
        rgba(1, 138, 223, 0.14),
        rgba(1, 138, 223, 0.04)
    );
    box-shadow:
        0 0 0 1px rgba(1, 138, 223, 0.35),
        0 12px 32px rgba(1, 138, 223, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.planning-day-head--today {
    flex-wrap: wrap;
    gap: 0.4rem 0.35rem;
    background: linear-gradient(90deg, rgba(1, 138, 223, 0.22), rgba(1, 138, 223, 0.08));
    border-bottom-color: rgba(1, 138, 223, 0.35);
}

.planning-day-col--today .planning-day-name {
    color: #d4efff;
}

.planning-day-col--today .planning-day-date {
    color: rgba(255, 255, 255, 0.9);
}

.planning-day-today-badge {
    flex: 1 1 100%;
    margin: 0.1rem 0 0;
    padding: 0.22rem 0.45rem;
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(10, 20, 36, 0.95);
    background: linear-gradient(135deg, #7ec9ff, #018adf);
    box-shadow: 0 4px 12px rgba(1, 138, 223, 0.35);
}

.planning-day-events {
    padding: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-content: flex-start;
}

.planning-event-card {
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(1, 138, 223, 0.2), rgba(1, 138, 223, 0.07));
    border: 1px solid rgba(1, 138, 223, 0.35);
    font-size: 0.84rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.planning-event-time {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: #b8e6ff;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

.planning-event-title {
    margin: 0;
    font-weight: 700;
    font-size: 0.9rem;
}

.planning-event-desc {
    margin: 0.28rem 0 0;
    color: rgba(230, 240, 255, 0.78);
    white-space: pre-wrap;
    font-size: 0.78rem;
    line-height: 1.45;
}

.planning-event-author {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
}

.planning-event-del {
    margin-top: 0.5rem;
    width: 100%;
}

.planning-event-panel {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.planning-event-panel h3 {
    margin: 0 0 0.6rem;
    font-size: 1.08rem;
    font-weight: 700;
}

/* Planning hub (calendrier plein écran + modales) */
.planning-shell {
    width: 100%;
    min-width: 0;
}

.planning-hub-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.1rem 1.5rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.planning-hub-intro {
    flex: 1 1 220px;
    min-width: 0;
}

.planning-hub-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.35rem, 3.2vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(92deg, #ffffff, #7ec9ff 45%, #018adf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.planning-hub-lead {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.62;
    color: rgba(215, 228, 248, 0.76);
    max-width: 42rem;
}

.planning-hub-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    justify-content: flex-end;
}

.planning-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.94);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.planning-chip-btn:hover {
    border-color: rgba(1, 138, 223, 0.55);
    background: rgba(1, 138, 223, 0.14);
    transform: translateY(-1px);
}

.planning-chip-btn--accent {
    border-color: rgba(1, 138, 223, 0.65);
    background: linear-gradient(135deg, #018adf, #0568a8);
    box-shadow: 0 8px 22px rgba(1, 138, 223, 0.28);
}

.planning-chip-btn--accent:hover {
    filter: brightness(1.06);
}

.planning-chip-ico {
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.88;
}

.planning-block--flush {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.planning-block--last {
    margin-bottom: 0.25rem;
}

.planning-sub--tight {
    margin-top: 0.35rem;
}

.planning-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.planning-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    box-sizing: border-box;
}

.planning-modal[hidden] {
    display: none !important;
}

.planning-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 18, 0.78);
    backdrop-filter: blur(5px);
}

.planning-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: min(88vh, 900px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    border: 1px solid rgba(1, 138, 223, 0.28);
    background: linear-gradient(165deg, rgba(18, 26, 42, 0.98), rgba(10, 14, 24, 0.99));
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 80px rgba(1, 138, 223, 0.12);
}

.planning-modal-dialog--wide {
    width: min(100%, 560px);
}

.planning-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.planning-modal-title {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.96);
}

.planning-modal-x {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.planning-modal-x:hover {
    border-color: rgba(1, 138, 223, 0.55);
    background: rgba(1, 138, 223, 0.12);
}

.planning-modal-body {
    padding: 1rem 1.15rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.planning-modal-body .planning-block:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

@media (max-width: 900px) {
    .planning-main-panel {
        padding: 1rem 1rem 1.15rem !important;
    }

    .planning-week-toolbar {
        margin-bottom: 0.85rem;
        padding-bottom: 0.75rem;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.45rem;
    }

    .planning-week-toolbar > button:nth-of-type(1) {
        order: 1;
    }

    .planning-week-toolbar > button:nth-of-type(2) {
        order: 2;
    }

    .planning-week-toolbar > button:nth-of-type(3) {
        order: 3;
        margin-left: auto;
    }

    .planning-week-label {
        order: 4;
        flex: 1 1 100%;
        min-width: 0;
        margin-top: 0.35rem;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .planning-week-grid {
        grid-template-columns: 1fr;
        min-width: 0;
        min-height: 0;
        gap: 0.75rem;
    }

    .planning-day-col {
        min-height: auto;
    }

    .planning-calendar-frame {
        margin: 0;
        padding: 0 0 0.5rem;
        overflow-x: visible;
    }

    .planning-hub-actions {
        justify-content: stretch;
    }

    .planning-chip-btn {
        flex: 1 1 calc(50% - 0.3rem);
        justify-content: center;
    }
}

