/* Groove launcher prototype */
.hg-page-launcher #hg-main {
    padding-top: 100px;
    background:
        linear-gradient(180deg, rgba(255, 248, 253, 0.9), rgba(255, 242, 248, 0.72) 42%, rgba(244, 250, 255, 0.72));
}

.hg-page-launcher .hg-topbar {
    padding: 10px 0;
    border-bottom: 1px solid rgba(117, 126, 255, 0.12);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
}

.hg-page-launcher .hg-topbar.is-scrolled {
    padding-top: 8px;
}

.hg-page-launcher .hg-nav,
.hg-page-launcher .hg-mobile-bar {
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.hg-page-launcher .hg-nav::before,
.hg-page-launcher .hg-mobile-bar::before {
    display: none;
}

.hg-page-launcher .hg-menu-link,
.hg-page-launcher .hg-account-link {
    border: 1px solid rgba(117, 126, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(31, 35, 64, 0.06);
}

.hg-page-launcher .hg-menu-link:hover,
.hg-page-launcher .hg-menu-link.is-active,
.hg-page-launcher .hg-account-link:hover {
    background: #fff;
    color: #5b30d6;
    box-shadow: 0 14px 28px rgba(31, 35, 64, 0.08);
}

.hg-page-launcher .hg-nav-cta {
    border-color: transparent;
    background: linear-gradient(135deg, #ff4fa3 0%, #ff6f61 100%);
    box-shadow: 0 18px 34px rgba(255, 91, 142, 0.28);
}

.hgl-portal-hero,
.hgl-quick-strip,
.hgl-section {
    width: min(calc(100% - 32px), var(--hg-max));
    margin: 0 auto;
}

.hgl-portal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: clamp(18px, 3vw, 34px) 0 18px;
    min-height: calc(100svh - 116px);
    align-content: start;
}

.hgl-portal-head,
.hgl-quick-strip,
.hgl-launch-card,
.hgl-agenda-card,
.hgl-action-grid a {
    border: 1px solid rgba(50, 20, 80, 0.1);
    box-shadow: 0 18px 42px rgba(78, 34, 100, 0.1);
}

.hgl-portal-head {
    display: grid;
    gap: 18px;
    align-items: end;
    padding: clamp(18px, 3vw, 30px);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 252, 0.94)),
        linear-gradient(135deg, rgba(125, 77, 255, 0.1), rgba(255, 79, 163, 0.1));
}

.hgl-portal-copy {
    display: grid;
    gap: 12px;
}

.hgl-portal-tools {
    min-width: 0;
}

.hgl-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 6px 12px;
    border: 1px solid rgba(125, 77, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #5b30d6;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hgl-portal-hero h1 {
    max-width: 860px;
    margin: 0;
    font-family: "Baloo 2", "Inter", system-ui, sans-serif;
    font-size: clamp(2.45rem, 9vw, 5.4rem);
    line-height: 0.9;
    letter-spacing: 0;
    color: var(--hg-text);
}

.hgl-portal-hero p,
.hgl-section-head p {
    max-width: 650px;
    margin: 0;
    color: var(--hg-muted);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
}

.hgl-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    padding: 8px;
    border-radius: 24px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(50, 20, 80, 0.08), 0 14px 30px rgba(78, 34, 100, 0.08);
}

.hgl-search i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--hg-violet);
}

.hg-page-launcher .hgl-search input:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    outline: 0;
    background: transparent;
    color: var(--hg-text);
    font: 800 0.98rem/1.2 "Inter", system-ui, sans-serif;
    box-shadow: none;
}

.hg-page-launcher .hgl-search input:focus {
    border-color: transparent;
    box-shadow: none;
}

.hg-page-launcher .hgl-search input::-webkit-search-decoration,
.hg-page-launcher .hgl-search input::-webkit-search-cancel-button,
.hg-page-launcher .hgl-search input::-webkit-search-results-button,
.hg-page-launcher .hgl-search input::-webkit-search-results-decoration {
    display: none;
}

.hgl-search input::placeholder {
    color: rgba(86, 71, 106, 0.72);
}

.hgl-search button,
.hgl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hg-violet), var(--hg-pink));
    color: #fff;
    font: 900 0.9rem/1 "Inter", system-ui, sans-serif;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(125, 77, 255, 0.2);
}

.hgl-chip-row,
.hgl-zone-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.hgl-chip-row {
    margin-top: 12px;
    padding-bottom: 3px;
}

.hgl-chip-row a,
.hgl-zone-row a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--hg-text);
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(50, 20, 80, 0.08);
}

.hgl-section {
    padding: 26px 0;
}

.hgl-section-head {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.hgl-section-head h2 {
    max-width: 760px;
    margin: 0;
    font-family: "Baloo 2", "Inter", system-ui, sans-serif;
    font-size: clamp(2rem, 7vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--hg-text);
}

.hgl-section-head--inline {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.hgl-launch-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.hgl-launch-grid--hero {
    align-items: stretch;
}

.hgl-launch-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hgl-launch-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 77, 255, 0.2);
    box-shadow: 0 24px 52px rgba(78, 34, 100, 0.14);
}

.hgl-launch-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5ecff;
}

.hgl-launch-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hgl-launch-body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.hgl-launch-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6934e0;
    font-size: 0.82rem;
    font-weight: 900;
}

.hgl-launch-card h3,
.hgl-agenda-card h3 {
    margin: 0;
    color: var(--hg-text);
    font-family: "Baloo 2", "Inter", system-ui, sans-serif;
    font-size: 1.55rem;
    line-height: 1;
}

.hgl-launch-card p {
    margin: 0;
    min-height: 52px;
    color: var(--hg-muted);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.42;
}

.hgl-launch-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.hgl-quick-strip {
    display: grid;
    gap: 14px;
    align-items: center;
    margin-top: 6px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
}

.hgl-quick-strip-copy {
    display: grid;
    gap: 8px;
}

.hgl-quick-strip-copy strong {
    color: var(--hg-text);
    font-family: "Baloo 2", "Inter", system-ui, sans-serif;
    font-size: clamp(1.45rem, 5vw, 2.25rem);
    line-height: 0.95;
}

.hgl-quick-strip-actions {
    display: grid;
    gap: 10px;
}

.hgl-quick-strip-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    background: #fff;
    color: var(--hg-violet);
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(125, 77, 255, 0.16);
}

.hgl-quick-strip-actions a:first-child {
    background: linear-gradient(135deg, var(--hg-violet), var(--hg-pink));
    color: #fff;
    box-shadow: 0 12px 24px rgba(125, 77, 255, 0.18);
}

.hgl-icon-link {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--hg-violet);
    box-shadow: inset 0 0 0 1px rgba(50, 20, 80, 0.1);
}

.hgl-button--ghost,
.hgl-text-link {
    background: #fff;
    color: var(--hg-violet);
    box-shadow: inset 0 0 0 1px rgba(125, 77, 255, 0.16);
}

.hgl-text-link {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 900;
}

.hgl-agenda-list {
    display: grid;
    gap: 12px;
}

.hgl-section--agenda {
    margin-top: 10px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 0 0 1px rgba(50, 20, 80, 0.08);
}

.hgl-agenda-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
}

.hgl-date-pill {
    display: grid;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f2e8ff, #ffe7f2);
    color: #5424c8;
    font-weight: 900;
}

.hgl-date-pill span {
    color: #7f5be4;
    font-size: 0.85rem;
}

.hgl-agenda-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.hgl-agenda-copy p,
.hgl-agenda-copy span {
    margin: 0;
    color: var(--hg-muted);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.35;
}

.hgl-agenda-copy p {
    display: flex;
    gap: 7px;
}

.hgl-agenda-copy i {
    margin-top: 2px;
    color: var(--hg-pink);
}

.hgl-action-grid {
    display: grid;
    gap: 12px;
}

.hgl-action-grid a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
}

.hgl-action-grid i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff0a8, #ffd6e9);
    color: var(--hg-text);
}

.hgl-action-grid strong {
    color: var(--hg-text);
    font-size: 1rem;
}

.hgl-action-grid span {
    color: var(--hg-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.hgl-section--zones {
    padding-bottom: 48px;
}

@media (max-width: 720px) {
    .hg-page-launcher #hg-main {
        padding-top: 0;
    }

    .hg-page-launcher .hg-topbar {
        position: sticky;
        top: 0;
        padding: 8px 0 6px;
    }

    .hg-page-launcher .hg-mobile-bar {
        padding: 8px 0;
    }

    .hgl-portal-hero,
    .hgl-quick-strip,
    .hgl-section {
        width: min(calc(100% - 20px), var(--hg-max));
    }

    .hgl-portal-hero {
        min-height: auto;
        padding-top: 12px;
    }
}

@media (max-width: 520px) {
    .hg-page-launcher #hg-main {
        padding-top: 0;
    }

    .hg-page-launcher .hg-topbar {
        position: sticky;
        top: 0;
        padding: 8px 0 6px;
    }

    .hg-page-launcher .hg-mobile-bar {
        padding: 8px 0;
    }

    .hgl-portal-hero,
    .hgl-quick-strip,
    .hgl-section {
        width: min(calc(100% - 20px), var(--hg-max));
    }

    .hgl-portal-hero {
        min-height: auto;
        padding-top: 12px;
    }

    .hgl-portal-head,
    .hgl-section--agenda {
        border-radius: 22px;
    }

    .hgl-portal-hero h1 {
        font-size: clamp(2.35rem, 13vw, 3.6rem);
    }

    .hgl-search {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .hgl-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .hgl-section-head--inline {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (min-width: 760px) {
    .hgl-portal-head {
        grid-template-columns: minmax(0, 1fr) minmax(440px, 500px);
    }

    .hgl-portal-tools {
        width: 100%;
        max-width: 520px;
        justify-self: end;
    }

    .hgl-portal-tools .hgl-chip-row {
        flex-wrap: wrap;
        overflow: visible;
    }

    .hgl-quick-strip {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 18px 20px;
    }

    .hgl-quick-strip-actions {
        display: flex;
        justify-self: end;
    }

    .hgl-launch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .hgl-agenda-card {
        grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr) auto;
        align-items: center;
    }

    .hgl-date-pill {
        justify-content: start;
    }

    .hgl-action-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1080px) {
    .hgl-launch-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hgl-launch-grid--hero .hgl-launch-media {
        aspect-ratio: 5 / 4;
    }

    .hgl-launch-grid--hero .hgl-launch-card p {
        min-height: 66px;
    }
}
