@import url("bw-tokens.css");
@import url("company-area.css");

.company-shell {
    position: relative;
    z-index: 30;
}

.company-topbar {
    position: sticky;
    /* -1px serve al pattern di sticky-detection con IntersectionObserver
       (non visibilmente percettibile, ma fa sì che 1px del topbar esca
       dal viewport non appena la pagina inizia a scrollare). */
    top: -1px;
    z-index: 31;
    max-width: 100%;
    margin: 0;
    padding: 0.7rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #343b4a;
    background-color: #343b4a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.16);
    transition: padding 0.22s ease, box-shadow 0.22s ease;
}

.company-topbar.is-shrunk {
    padding: 0.42rem 1.25rem;
    background: #343b4a;
    background-color: #343b4a;
    box-shadow: 0 4px 14px rgba(2, 6, 23, 0.32);
}

.company-topbar.is-shrunk .company-brand {
    font-size: 0.92rem;
}

.company-topbar.is-shrunk .company-nav-link {
    padding: 0.32rem 0.7rem;
    font-size: 0.8rem;
}

.company-topbar.is-shrunk .company-user-pill,
.company-topbar.is-shrunk .company-logout-btn {
    padding: 0.32rem 0.7rem;
    font-size: 0.76rem;
}

.company-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #f8fafc;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: font-size 0.22s ease;
}

.company-brand-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bw-verde, #2a5c47), var(--bw-verde-l, #6aab8a));
    box-shadow: 0 0 0 5px var(--bw-accent-soft, rgba(106, 171, 138, 0.18));
    flex-shrink: 0;
}

.company-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    padding: 0.24rem;
    flex-wrap: wrap;
    justify-content: center;
}

.company-nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.83rem;
    font-weight: 600;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    transition: padding 0.18s ease, font-size 0.18s ease, color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.company-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.company-nav-link.active {
    color: var(--bw-surface-warm, #f3f4f6);
    background: var(--bw-verde-m, #3d7260);
}

.company-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.company-nav-link--has-unread {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.45);
}

.company-nav-link--has-unread.active {
    color: var(--bw-surface-warm, #f3f4f6);
    background: var(--bw-verde-m, #3d7260);
}

.company-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 0 0 2px #343b4a;
}

/* ——— Toggle «Altro» (mobile) ——— */
.company-nav-toggle {
    display: none;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.75rem 0.42rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.company-nav-toggle:hover,
.company-topbar.is-more-open .company-nav-toggle,
.company-topbar.has-more-active .company-nav-toggle {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(148, 163, 184, 0.4);
}

.company-nav-toggle:focus-visible {
    outline: 2px solid #94a3b8;
    outline-offset: 2px;
}

.company-nav-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    line-height: 0;
}

.company-nav-toggle-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.company-nav-toggle-label {
    line-height: 1;
}

.company-nav-group--primary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ——— Menu «Altro» ——— */
.company-nav-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 0.2rem;
    margin-left: 0.08rem;
    border-left: 1px solid rgba(148, 163, 184, 0.22);
}

.company-nav-more-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: #cbd5e1;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.company-nav-more-trigger:hover,
.company-nav-more-trigger.active,
.company-topbar.has-more-active .company-nav-more-trigger {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.company-topbar.is-more-open .company-nav-more-trigger,
.company-topbar.has-more-active .company-nav-more-trigger.active {
    color: var(--bw-surface-warm, #f3f4f6);
    background: var(--bw-verde-m, #3d7260);
}

.company-nav-more-chevron {
    width: 0.85rem;
    height: 0.85rem;
    transition: transform 0.18s ease;
}

.company-topbar.is-more-open .company-nav-more-chevron {
    transform: rotate(180deg);
}

.company-more-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    left: auto;
    z-index: 42;
    min-width: 12rem;
    padding: 0;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.company-more-panel__inner {
    padding: 0.45rem;
    background: #fff;
    border: 1px solid rgba(11, 18, 32, 0.1);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(11, 18, 32, 0.12);
}

.company-more-panel__foot {
    display: none;
}

.company-nav-more-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.58rem 0.72rem;
    border-radius: 10px;
    text-decoration: none;
    color: #0b1220;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
}

.company-nav-more-link:hover {
    background: #f1f5f9;
    color: #343b4a;
}

.company-nav-more-link.active {
    background: #343b4a;
    color: #f8fafc;
}

.company-nav-more-link--unread {
    font-weight: 700;
}

.company-topbar.is-more-open .company-more-panel {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

/* ——— Bottom tab (solo mobile) ——— */
.company-bottom-tab {
    display: none;
}

.company-user-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.company-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-size: 0.79rem;
    white-space: nowrap;
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: padding 0.18s ease, font-size 0.18s ease;
}

.bw-company-founding-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #78350f;
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    border: 1px solid rgba(245, 158, 11, 0.45);
}

.company-logout-btn {
    color: #f8fafc;
    text-decoration: none;
    background: rgba(185, 28, 28, 0.45);
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-size: 0.79rem;
    font-weight: 600;
    transition: padding 0.18s ease, font-size 0.18s ease, background 0.15s ease;
}

.company-logout-btn:hover {
    background: rgba(185, 28, 28, 0.6);
}

.company-hero {
    max-width: 1400px;
    margin: 0.95rem auto 0.9rem;
    padding: 1.45rem 1.3rem 1.65rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background:
        radial-gradient(circle at 20% 28%, rgba(15, 148, 136, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.24) 0%, transparent 52%),
        linear-gradient(145deg, #0f172a 0%, #1e293b 45%, #334155 100%);
    color: #f8fafc;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.company-hero-kicker {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #94a3b8;
    margin-bottom: 0.55rem;
}

.company-hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem 1.75rem;
    align-items: start;
}

.company-hero-main {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.company-hero h1,
.company-hero-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.16;
    letter-spacing: -0.03em;
    font-weight: 800;
    color: #f8fafc;
}

.company-hero p,
.company-hero-subtitle {
    margin: 0;
    color: #cbd5e1;
    max-width: 48rem;
}

.company-hero-actions {
    margin-top: 0.95rem;
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.company-hero-btn {
    text-decoration: none;
    border-radius: 999px;
    padding: 0.55rem 0.92rem;
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.15s ease;
}

.company-hero-btn.primary {
    background: var(--bw-verde, #2a5c47);
    color: var(--bw-surface-warm, #f3f4f6);
}

.company-hero-btn.secondary {
    color: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.company-hero-btn:hover {
    transform: translateY(-1px);
}

/* ——— Responsive ——— */
@media (min-width: 881px) {
    .company-topbar {
        display: grid;
        grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.5rem 0.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .company-brand {
        font-size: 0.9rem;
        max-width: 11.5rem;
    }

    .company-brand span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .company-nav-toggle {
        display: none;
    }

    .company-nav {
        order: unset;
        justify-self: center;
        width: max-content;
        max-width: 100%;
        margin: 0 auto;
    }

    .company-topbar:not(.is-more-open) .company-more-panel {
        visibility: hidden;
    }

    .company-topbar.is-more-open .company-more-panel {
        visibility: visible;
    }

    .company-user-wrap {
        justify-self: end;
    }

    .company-user-pill {
        max-width: 8.5rem;
        font-size: 0.8125rem;
        padding: 0.42rem 0.75rem;
    }

    .company-logout-btn {
        font-size: 0.8125rem;
        padding: 0.42rem 0.75rem;
    }
}

@media (max-width: 1200px) and (min-width: 881px) {
    .company-nav-link {
        padding: 0.4rem 0.65rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 880px) {
    body.company-area {
        --co-bottom-tab-height: calc(4.35rem + env(safe-area-inset-bottom, 0px));
        padding-bottom: calc(var(--co-bottom-tab-height) + 1rem);
        overflow-x: clip;
    }

    .company-bottom-tab {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    .company-topbar {
        padding: 0.6rem 0.9rem;
        flex-wrap: wrap;
        gap: 0.55rem;
    }

    .company-topbar.is-shrunk {
        padding: 0.4rem 0.9rem;
    }

    .company-brand {
        font-size: 0.92rem;
        flex: 1 1 auto;
    }

    .company-brand span:nth-child(2) {
        max-width: 60vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .company-nav-toggle {
        display: inline-flex;
        order: 2;
    }

    .company-topbar.has-more-active .company-nav-toggle {
        border-color: rgba(148, 163, 184, 0.45);
        background: rgba(255, 255, 255, 0.14);
    }

    .company-user-wrap {
        display: none;
    }

    .company-nav {
        display: contents;
    }

    .company-nav-group--primary,
    .company-nav-more-trigger {
        display: none;
    }

    .company-nav-more {
        display: contents;
    }

    .company-more-panel {
        position: static;
        order: 5;
        flex-basis: 100%;
        padding: 0;
        transform: none;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin-top: 0;
        pointer-events: none;
        transition: max-height 0.28s ease, opacity 0.18s ease, margin-top 0.22s ease;
        visibility: visible;
    }

    .company-topbar.is-more-open .company-more-panel {
        max-height: min(72vh, 32rem);
        opacity: 1;
        margin-top: 0.45rem;
        pointer-events: auto;
        overflow: hidden;
    }

    .company-more-panel__inner {
        max-width: none;
        margin: 0;
        padding: 0.4rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(148, 163, 184, 0.18);
        box-shadow: none;
        max-height: min(68vh, 30rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .company-more-panel__group + .company-more-panel__group {
        margin-top: 0.35rem;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(148, 163, 184, 0.16);
    }

    .company-more-panel__group-label {
        margin: 0.15rem 0.35rem 0.25rem;
        padding: 0 0.35rem;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #94a3b8;
    }

    .company-nav-more-link {
        padding: 0.72rem 0.85rem;
        font-size: 0.92rem;
        color: #e2e8f0;
    }

    .company-nav-more-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .company-nav-more-link.active {
        background: var(--bw-verde-m, #3d7260);
        color: var(--bw-surface-warm, #f3f4f6);
    }

    .company-more-panel__foot {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-top: 0.35rem;
        padding: 0.65rem 0.85rem 0.45rem;
        border-top: 1px solid rgba(148, 163, 184, 0.22);
    }

    .company-more-panel__user {
        font-size: 0.82rem;
        font-weight: 600;
        color: #cbd5e1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .company-more-panel__logout {
        flex-shrink: 0;
        font-size: 0.82rem;
        font-weight: 700;
        color: #f8fafc;
        text-decoration: none;
        padding: 0.35rem 0.7rem;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background: rgba(255, 255, 255, 0.08);
    }

    .company-hero {
        margin: 0.75rem 0.85rem 0.75rem;
        padding: 1.15rem 1rem 1.3rem;
        border-radius: 13px;
    }

    .company-bottom-tab {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        box-sizing: border-box;
        min-height: var(--co-bottom-tab-height, calc(4.35rem + env(safe-area-inset-bottom, 0px)));
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        gap: 0.1rem;
        padding:
            0.4rem
            max(0.55rem, env(safe-area-inset-right, 0px))
            calc(0.4rem + env(safe-area-inset-bottom, 0px))
            max(0.55rem, env(safe-area-inset-left, 0px));
        background: rgba(52, 59, 74, 0.98);
        border-top: 1px solid rgba(148, 163, 184, 0.22);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        isolation: isolate;
    }

    .company-bottom-tab__item {
        position: relative;
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 0.2rem;
        padding: 0.2rem 0.12rem 0.1rem;
        text-decoration: none;
        color: #94a3b8;
        border-radius: 12px;
        transition: color 0.15s ease, background 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .company-bottom-tab__item:hover,
    .company-bottom-tab__item:focus-visible {
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.08);
    }

    .company-bottom-tab__item.is-active {
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.12);
        font-weight: 700;
    }

    .company-bottom-tab__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.35rem;
        height: 1.35rem;
        line-height: 0;
    }

    .company-bottom-tab__icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .company-bottom-tab__label {
        font-size: 0.64rem;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 0.01em;
        text-align: center;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .company-bottom-tab__item.is-active .company-bottom-tab__label {
        font-weight: 800;
    }

    body:not(.company-pd2-page) .company-bottom-tab__item--menu {
        display: none;
    }

    .company-bottom-tab__item--menu {
        border: none;
        background: transparent;
        font: inherit;
        cursor: pointer;
    }

    .company-bottom-tab__badge {
        position: absolute;
        top: 0.1rem;
        right: calc(50% - 1.35rem);
        min-width: 1rem;
        height: 1rem;
        padding: 0 0.22rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.58rem;
        font-weight: 800;
        line-height: 1;
        color: #fff;
        background: #f59e0b;
        border-radius: 999px;
        border: 2px solid #343b4a;
    }
}

@media (max-width: 768px) {
    .company-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .company-hero-actions .company-hero-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .company-hero h1,
    .company-hero-title {
        font-size: clamp(1.25rem, 5.5vw, 1.65rem);
        overflow-wrap: break-word;
    }

    .company-hero p,
    .company-hero-subtitle {
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .company-user-pill {
        display: none;
    }

    .company-brand span:nth-child(2) {
        max-width: 48vw;
        font-size: 0.86rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .company-topbar,
    .company-nav,
    .company-nav-toggle-icon,
    .company-brand,
    .company-nav-link,
    .company-bottom-tab__item,
    .company-more-panel,
    .company-nav-more-chevron {
        transition: none;
    }
}

/* Freemium: banner upgrade e confronto piani */
.bw-plan-gate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid #e3dcc9;
    border-left: 4px solid #b8893f;
    border-radius: 12px;
    background: #fbf7ee;
}

.bw-plan-gate__body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 280px;
}

.bw-plan-gate__badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #b8893f;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bw-plan-gate__text {
    margin: 0;
    color: #5b5340;
    font-size: 0.92rem;
    line-height: 1.4;
}

.bw-plan-gate__cta {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    background: #2f6b4f;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.bw-plan-gate__cta:hover {
    background: #265840;
}

.co-plan-compare {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
}

.co-plan-card {
    position: relative;
    padding: 1.2rem 1.1rem;
    border: 1px solid #e3dcc9;
    border-radius: 13px;
    background: #fff;
}

.co-plan-card--highlight {
    border-color: #2f6b4f;
    box-shadow: 0 6px 18px rgba(47, 107, 79, 0.1);
}

.co-plan-card--current {
    background: #f6f3ea;
}

.co-plan-card__name {
    margin: 0 0 0.2rem;
    font-size: 1.05rem;
}

.co-plan-card__price {
    margin: 0 0 0.8rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: #2b2b24;
}

.co-plan-card__price small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #8a8268;
}

.co-plan-card__list {
    margin: 0;
    padding-left: 1.1rem;
    color: #5b5340;
    font-size: 0.9rem;
    line-height: 1.6;
}

.co-plan-card__tag {
    display: inline-block;
    margin-top: 0.9rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #2f6b4f;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
}

.co-plan-upgrade__choice {
    border: 0;
    margin: 0 0 1rem;
    padding: 0;
}

.co-plan-upgrade__choice legend {
    padding: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.co-plan-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e3dcc9;
    border-radius: 10px;
    cursor: pointer;
}

.co-plan-option:has(input:checked) {
    border-color: #2f6b4f;
    background: #f1f6f2;
}

.co-plan-manage {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e3dcc9;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.co-plan-manage__section {
    margin: 0;
}

.co-plan-manage__section--danger {
    padding: 1rem;
    border: 1px solid #e8cfcf;
    border-radius: 12px;
    background: #fdf8f8;
}

.co-plan-manage__hint {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: #5b5340;
    line-height: 1.5;
}

.co-callout--warn {
    border-color: #e8d4a8;
    background: #fdf9ef;
}
