/* Public presentation refresh: one icon and one source of copy across all views. */

.lp-module-icon {
    overflow: hidden;
    padding: 0;
    background: transparent !important;
}
.lp-module-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

/* Landing hero mirrors the current 1.15.x dashboard instead of the retired mockup. */
.lp-dashboard-mockup.lp-current-dashboard {
    grid-template-columns: 138px minmax(0, 1fr);
    border-color: rgba(113, 79, 214, .42);
    background: #050a18;
}
.lp-current-sidebar {
    min-width: 0;
    padding: 12px 9px;
    border-right: 1px solid rgba(113, 91, 180, .19);
    background: linear-gradient(180deg, rgba(8, 10, 26, .99), rgba(5, 9, 22, .99));
}
.lp-current-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 8px;
}
.lp-current-server {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px;
    margin-bottom: 8px;
    border: 1px solid rgba(100, 77, 170, .24);
    border-radius: 7px;
    background: rgba(26, 20, 61, .55);
}
.lp-current-server > span,
.lp-current-overview-head .server > span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #efeaff;
    background: linear-gradient(145deg, #8b4ef3, #493098);
    font-size: 8px;
    font-weight: 900;
}
.lp-current-server p,
.lp-current-overview-head p,
.lp-current-topbar p {
    min-width: 0;
    display: grid;
    gap: 2px;
    margin: 0;
}
.lp-current-server strong {
    max-width: 76px;
    overflow: hidden;
    color: #f3f5ff;
    font-size: 6.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-current-server small,
.lp-current-topbar small,
.lp-current-overview-head .server small {
    color: #62e892;
    font-size: 5.5px;
}
.lp-current-server small i,
.lp-current-topbar small i,
.lp-current-overview-head .server small i {
    width: 4px;
    height: 4px;
    display: inline-block;
    border-radius: 50%;
    background: #38dc79;
    box-shadow: 0 0 5px rgba(56, 220, 121, .72);
}
.lp-current-sidebar nav {
    display: grid;
    gap: 2px;
}
.lp-current-sidebar nav a {
    min-height: 25px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 7px;
    border-radius: 6px;
    color: #91a0b8;
    font-size: 6.5px;
}
.lp-current-sidebar nav a.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(117, 50, 225, .62), rgba(68, 40, 137, .38));
}
.lp-current-sidebar nav svg {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}
.lp-current-nav-title {
    display: block;
    margin: 10px 7px 4px;
    color: #6d7890;
    font-size: 5px;
    font-weight: 900;
    letter-spacing: .11em;
}
.lp-current-shell {
    min-width: 0;
    overflow: hidden;
}
.lp-current-topbar {
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 10px;
    border-bottom: 1px solid rgba(93, 88, 147, .2);
    background: rgba(5, 9, 23, .96);
}
.lp-current-topbar > div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lp-current-menu {
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(82, 103, 150, .36);
    border-radius: 6px;
    color: #cdd5e5;
    font-size: 10px;
}
.lp-current-topbar strong {
    max-width: 95px;
    overflow: hidden;
    font-size: 6.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-current-top-actions > span {
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    border: 1px solid rgba(88, 102, 145, .35);
    border-radius: 7px;
    color: #d6dbea;
    font-size: 5.5px;
    font-weight: 800;
}
.lp-current-top-actions > span.beta {
    border-color: rgba(178, 95, 255, .5);
    background: rgba(88, 39, 150, .35);
}
.lp-current-top-actions .beta i {
    width: 13px;
    height: 7px;
    position: relative;
    border-radius: 99px;
    background: #a637f5;
}
.lp-current-top-actions .beta i::after {
    content: "";
    position: absolute;
    right: 1px;
    top: 1px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
}
.lp-current-top-actions > b {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(114, 73, 169, .45);
    border-radius: 7px;
    color: #e8d9ff;
    background: #251637;
    font-size: 6px;
}
.lp-current-content {
    padding: 7px 8px 8px;
}
.lp-current-beta {
    min-height: 29px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 7px;
    padding: 0 8px;
    border: 1px solid rgba(160, 96, 239, .35);
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(80, 38, 133, .58), rgba(41, 28, 77, .45));
    font-size: 5px;
}
.lp-current-beta > span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lp-current-beta b {
    padding: 2px 4px;
    border-radius: 99px;
    background: #9a3be0;
    font-size: 4.5px;
}
.lp-current-beta > span:nth-child(2) {
    color: #bcd5c7;
}
.lp-current-beta > span:nth-child(2) i,
.lp-current-permissions i {
    width: 5px;
    height: 5px;
    display: inline-block;
    border-radius: 50%;
    background: #39df83;
    box-shadow: 0 0 5px rgba(57, 223, 131, .7);
}
.lp-current-beta em {
    padding: 4px 6px;
    border-radius: 5px;
    color: #e6e8ef;
    background: rgba(255, 255, 255, .08);
    font-style: normal;
    font-weight: 800;
}
.lp-current-overview-head {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1.45fr repeat(4, .72fr);
    gap: 5px;
    margin-top: 6px;
}
.lp-current-overview-head > article {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 7px;
    border: 1px solid rgba(72, 87, 132, .28);
    border-radius: 7px;
    background: rgba(8, 15, 33, .82);
}
.lp-current-overview-head > article.server {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
}
.lp-current-overview-head .server strong {
    max-width: 92px;
    overflow: hidden;
    font-size: 6.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-current-overview-head article > small {
    color: #7888a2;
    font-size: 4.5px;
}
.lp-current-overview-head article > strong {
    font-size: 9px;
}
.lp-current-overview-head article > em {
    color: #7889a3;
    font-size: 4px;
    font-style: normal;
}
.lp-current-overview-head article.health > strong {
    color: #66e99a;
}
.lp-current-permissions {
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: 6px;
    padding: 0 8px;
    border: 1px solid rgba(38, 177, 101, .29);
    border-radius: 7px;
    color: #aee7c3;
    background: rgba(18, 78, 55, .25);
    font-size: 4.8px;
}
.lp-current-permissions span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.lp-current-permissions em {
    padding: 3px 5px;
    border: 1px solid rgba(53, 174, 105, .25);
    border-radius: 5px;
    color: #d6e8dc;
    font-style: normal;
}
.lp-current-overview-grid {
    height: 102px;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(120px, .8fr);
    gap: 6px;
    margin-top: 6px;
}
.lp-current-activity,
.lp-current-history {
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(72, 87, 132, .28);
    border-radius: 7px;
    background: rgba(8, 15, 33, .82);
}
.lp-current-activity > header,
.lp-current-history > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}
.lp-current-activity header > div {
    display: grid;
    gap: 2px;
}
.lp-current-activity header strong,
.lp-current-history header strong {
    font-size: 6px;
}
.lp-current-activity header small,
.lp-current-history header span {
    color: #71809a;
    font-size: 4px;
}
.lp-current-activity header > span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #9aa9bd;
    font-size: 4px;
}
.lp-current-activity header > span i {
    width: 13px;
    height: 7px;
    border-radius: 99px;
    background: #2bc871;
    box-shadow: inset -6px 0 0 #d9ffee;
}
.lp-current-activity > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
}
.lp-current-activity article {
    min-width: 0;
    display: grid;
    gap: 4px;
    padding: 7px;
    border: 1px solid rgba(72, 88, 132, .22);
    border-radius: 6px;
    background: rgba(12, 22, 45, .8);
}
.lp-current-activity article small {
    overflow: hidden;
    color: #76869f;
    font-size: 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-current-activity article strong {
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-current-history header span {
    color: #bda3ff;
}
.lp-current-history p {
    display: grid;
    grid-template-columns: 5px auto 1fr;
    align-items: center;
    gap: 4px;
    margin: 8px 0 0;
    font-size: 4.5px;
}
.lp-current-history p i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8e52ef;
}
.lp-current-history p small {
    overflow: hidden;
    color: #738099;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}
.lp-home-section-head > div {
    display: grid;
    gap: 7px;
}
.lp-home-section-head > div > span,
.lp-catalog-category {
    color: #9b82ff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.lp-home-section-head h3 {
    margin: 0;
}
.lp-home-section-head p {
    margin: 0;
    color: #8f9eb5;
    font-size: 13px;
}
.lp-home-section-head > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid rgba(121, 92, 226, .32);
    border-radius: 999px;
    color: #d8d1ff;
    background: rgba(39, 27, 78, .38);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}
.lp-home-section-head > a:hover {
    border-color: rgba(157, 128, 255, .66);
    background: rgba(61, 40, 118, .48);
}

.lp-module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.lp-module-grid article {
    min-height: 142px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: start;
    gap: 13px;
    padding: 17px;
}
.lp-module-grid .lp-module-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.lp-module-grid p {
    display: grid;
    gap: 7px;
    margin: 0;
}
.lp-module-grid p > em {
    color: #9683e6;
    font-size: 8px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.lp-module-grid strong {
    font-size: 13px;
    line-height: 1.25;
}
.lp-module-grid small {
    color: #9eabc0;
    font-size: 10px;
    line-height: 1.5;
}
.lp-module-arrow {
    align-self: center;
    color: #7762d8;
    font-size: 17px;
    transition: transform .18s ease, color .18s ease;
}
.lp-module-link:hover .lp-module-arrow {
    color: #b7a5ff;
    transform: translateX(3px);
}
.lp-module-grid article.accent-autoroles::after { background: #32d486; color: #32d486; }
.lp-module-grid article.accent-cyan::after { background: #24b9dc; color: #24b9dc; }

.lp-feature-cards article > .lp-feature-card-icon {
    width: 52px;
    height: 52px;
    display: block;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .27);
}
.lp-feature-card-icon img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}
.lp-feature-cards article:has(.lp-feature-card-icon) h3 {
    margin-top: 22px;
}

.lp-module-catalog article > img {
    box-shadow: 0 12px 25px rgba(0, 0, 0, .25);
}
.lp-catalog-category {
    display: block;
    margin: 0 0 6px;
    color: #8975db;
    font-size: 8px;
}
.lp-catalog-title {
    align-items: center;
}
.lp-module-category-chip {
    display: inline-flex;
    align-items: center;
    margin: 0 0 16px 8px;
    padding: 5px 9px;
    border: 1px solid rgba(134, 106, 244, .34);
    border-radius: 999px;
    color: #bcaeff;
    background: rgba(70, 45, 137, .25);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    vertical-align: middle;
}
.lp-module-detail-icon img {
    border-radius: 22px;
    box-shadow: 0 15px 32px rgba(0, 0, 0, .26);
}

@media (max-width: 1120px) {
    .lp-module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .lp-home-section-head {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }
    .lp-home-section-head > a {
        align-self: flex-start;
    }
    .lp-module-grid {
        grid-template-columns: 1fr;
    }
    .lp-module-grid article {
        min-height: 122px;
    }
    .lp-module-category-chip {
        margin-left: 0;
    }
}
