/* =========================================================
   NORMAUDIT – ZENTRALES WEBSITE DESIGN
   Grundlage: NormAudit Kundenportal
   Version: 2026-09-01
   ========================================================= */

:root {
    --na-blue: #1557d6;
    --na-blue-dark: #0d3fa8;
    --na-blue-light: #eaf1ff;
    --na-blue-soft: #f4f7ff;
    --na-text: #172033;
    --na-muted: #687386;
    --na-border: #e2e7ef;
    --na-white: #ffffff;
    --na-bg: #f5f7fb;
    --na-red: #e53935;
    --na-green: #18a957;
    --na-orange: #f39a19;
    --na-shadow: 0 2px 10px rgba(18, 38, 63, 0.07);
    --na-radius: 10px;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--na-text);
    background: var(--na-bg);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.portal-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    background: var(--na-blue);
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.portal-action-button:hover {
    background: var(--na-blue-dark);
    transform: translateY(-1px);
}

/* =========================================================
   HEADER
   ========================================================= */

.portal-topbar {
    position: relative;
    z-index: 20;
    width: 100%;
    min-height: 76px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--na-blue);
    color: var(--na-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.portal-wordmark {
    min-width: 245px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.portal-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.portal-brand-text strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.portal-brand-text small {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.2px;
    opacity: 0.95;
}

.portal-menu-toggle {
    width: 28px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.portal-menu-toggle i {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.portal-user-summary {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 210px;
    font-size: 13px;
}

.portal-user-summary > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.portal-user-summary small {
    font-size: 11px;
    opacity: 0.86;
}

.portal-user-summary strong {
    margin: 2px 0;
    font-size: 13px;
}

.portal-user-icon {
    position: relative;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.portal-user-icon::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 9px;
    width: 8px;
    height: 8px;
    border: 1.5px solid #fff;
    border-radius: 50%;
}

.portal-user-icon::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 4px;
    width: 16px;
    height: 8px;
    border: 1.5px solid #fff;
    border-radius: 10px 10px 6px 6px;
}

.portal-signout {
    min-height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 6px;
    background: var(--na-red);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    transition: opacity 0.15s ease;
}

.portal-signout:hover {
    opacity: 0.9;
}

.portal-signout-icon {
    font-size: 17px;
    line-height: 1;
}

.portal-public-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-public-actions a {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   GLOBAL PORTAL LAYOUT
   ========================================================= */

.portal-dashboard-layout {
    display: flex;
    min-height: calc(100vh - 76px);
}

.portal-sidebar {
    position: relative;
    width: 255px;
    min-width: 255px;
    padding: 22px 14px 20px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid var(--na-border);
}

.portal-dashboard-main {
    flex: 1;
    min-width: 0;
    padding: 30px 36px 42px;
    background: var(--na-bg);
}

.portal-dashboard-footer {
    padding: 15px 20px 18px 291px;
    border-top: 1px solid var(--na-border);
    background: #fff;
    color: var(--na-muted);
    font-size: 11px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.portal-company-summary {
    min-height: 76px;
    margin: 0 5px 20px;
    padding: 12px 10px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-bottom: 1px solid var(--na-border);
}

.portal-company-summary > span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.portal-company-summary strong {
    overflow: hidden;
    color: var(--na-text);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-company-summary small {
    margin-top: 3px;
    color: var(--na-muted);
    font-size: 10px;
}

.portal-company-summary em {
    width: fit-content;
    margin-top: 6px;
    padding: 3px 7px;
    border-radius: 12px;
    background: #e7f7ed;
    color: var(--na-green);
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
}

.portal-building {
    position: relative;
    width: 29px;
    height: 31px;
    flex: 0 0 29px;
    border: 2px solid var(--na-blue);
    border-radius: 3px;
}

.portal-building::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 5px;
    width: 5px;
    height: 5px;
    background: var(--na-blue);
    box-shadow:
        9px 0 0 var(--na-blue),
        0 9px 0 var(--na-blue),
        9px 9px 0 var(--na-blue);
}

.portal-building::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 6px;
    height: 9px;
    background: var(--na-blue);
}

.portal-navigation {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.portal-navigation a {
    min-height: 40px;
    padding: 9px 11px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 7px;
    color: #596579;
    font-size: 12px;
    font-weight: 600;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.portal-navigation a:hover {
    background: var(--na-blue-soft);
    color: var(--na-blue);
}

.portal-navigation a.is-active {
    background: var(--na-blue-light);
    color: var(--na-blue);
    font-weight: 700;
}

.nav-icon {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: 17px;
    line-height: 1;
}

.portal-copyright {
    margin: auto 5px 0;
    padding-top: 20px;
    color: #9aa3b1;
    font-size: 9px;
    line-height: 1.6;
}

/* =========================================================
   PAGE CONTAINER
   ========================================================= */

.portal-page {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.portal-welcome {
    margin-bottom: 24px;
    padding: 25px 28px;
    background: #fff;
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius);
    box-shadow: var(--na-shadow);
}

.portal-welcome h1 {
    margin: 0;
    color: var(--na-blue);
    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
}

.portal-welcome p {
    margin: 8px 0 0;
    color: var(--na-muted);
    font-size: 13px;
}

/* =========================================================
   STATUS CARDS
   ========================================================= */

.portal-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.portal-status-card {
    min-height: 118px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius);
    box-shadow: var(--na-shadow);
}

.portal-status-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 700;
}

.portal-status-blue {
    background: #eaf1ff;
    color: var(--na-blue);
}

.portal-status-orange {
    background: #fff2df;
    color: var(--na-orange);
}

.portal-status-green {
    background: #e7f7ed;
    color: var(--na-green);
}

.portal-status-red {
    background: #ffebea;
    color: var(--na-red);
}

.portal-status-card > div:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.portal-status-card strong {
    color: var(--na-text);
    font-size: 13px;
}

.portal-status-card span {
    margin-top: 2px;
    color: var(--na-muted);
    font-size: 10px;
}

.portal-status-card b {
    margin-top: 7px;
    color: var(--na-text);
    font-size: 20px;
    line-height: 1;
}

/* =========================================================
   INFORMATION
   ========================================================= */

.portal-notice {
    margin-bottom: 22px;
    padding: 15px 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: var(--na-blue-soft);
    border: 1px solid #dce7ff;
    border-radius: var(--na-radius);
}

.portal-notice-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--na-blue);
    border-radius: 50%;
    color: var(--na-blue);
    font-size: 12px;
    font-weight: 800;
}

.portal-notice strong {
    color: var(--na-blue);
    font-size: 12px;
}

.portal-notice p {
    margin: 3px 0 0;
    color: #5d6a7d;
    font-size: 11px;
}

/* =========================================================
   PANELS
   ========================================================= */

.portal-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
    gap: 20px;
    margin-bottom: 22px;
}

.portal-panel {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius);
    box-shadow: var(--na-shadow);
}

.portal-panel-header {
    padding: 19px 20px 15px;
    border-bottom: 1px solid var(--na-border);
}

.portal-panel-header h2 {
    margin: 0;
    color: var(--na-text);
    font-size: 15px;
    font-weight: 700;
}

.portal-panel-header p {
    margin: 3px 0 0;
    color: var(--na-muted);
    font-size: 10px;
}

/* =========================================================
   QUICK ACCESS
   ========================================================= */

.portal-action-grid {
    padding: 17px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.portal-action-card {
    min-height: 82px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--na-border);
    border-radius: 8px;
    background: #fff;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.portal-action-card:hover {
    border-color: #c5d6fa;
    box-shadow: 0 3px 12px rgba(21, 87, 214, 0.09);
    transform: translateY(-1px);
}

.portal-action-primary {
    border-color: #c8d8fa;
    background: var(--na-blue-soft);
}

.portal-action-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--na-blue-light);
    color: var(--na-blue);
    font-size: 18px;
    font-weight: 700;
}

.portal-action-card > span:last-child {
    display: flex;
    flex-direction: column;
}

.portal-action-card strong {
    color: var(--na-text);
    font-size: 11px;
}

.portal-action-card small {
    margin-top: 3px;
    color: var(--na-muted);
    font-size: 9px;
}

/* =========================================================
   ACTIVITIES
   ========================================================= */

.portal-empty-state {
    min-height: 205px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.portal-empty-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f4f8;
    color: #8d98a8;
    font-size: 20px;
}

.portal-empty-state strong {
    color: var(--na-text);
    font-size: 12px;
}

.portal-empty-state span {
    max-width: 230px;
    margin-top: 4px;
    color: var(--na-muted);
    font-size: 10px;
}

/* =========================================================
   SUPPORT
   ========================================================= */

.portal-support-panel {
    min-height: 78px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius);
    box-shadow: var(--na-shadow);
}

.portal-support-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--na-blue-light);
    color: var(--na-blue);
    font-size: 18px;
    font-weight: 700;
}

.portal-support-panel > div:nth-child(2) {
    flex: 1;
}

.portal-support-panel strong {
    color: var(--na-text);
    font-size: 12px;
}

.portal-support-panel p {
    margin: 3px 0 0;
    color: var(--na-muted);
    font-size: 10px;
}

.portal-button {
    min-height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
}

.portal-button-primary {
    background: var(--na-blue);
    color: #fff;
}

.portal-button-primary:hover {
    background: var(--na-blue-dark);
}

/* =========================================================
   STANDARD CONTENT – FÜR ALLE UNTERSEITEN
   ========================================================= */

.portal-dashboard-main h1 {
    color: var(--na-blue);
}

.portal-dashboard-main h2,
.portal-dashboard-main h3 {
    color: var(--na-text);
}

.portal-dashboard-main form,
.portal-dashboard-main table,
.portal-dashboard-main .card,
.portal-dashboard-main .cards,
.portal-dashboard-main .info,
.portal-dashboard-main .hero,
.portal-dashboard-main section {
    max-width: 100%;
}

.portal-dashboard-main input,
.portal-dashboard-main select,
.portal-dashboard-main textarea {
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid var(--na-border);
    border-radius: 6px;
    background: #fff;
    color: var(--na-text);
}

.portal-dashboard-main input:focus,
.portal-dashboard-main select:focus,
.portal-dashboard-main textarea:focus {
    outline: none;
    border-color: var(--na-blue);
    box-shadow: 0 0 0 3px rgba(21, 87, 214, 0.08);
}

.portal-dashboard-main button,
.portal-dashboard-main .btn {
    min-height: 38px;
    padding: 9px 15px;
    border: 0;
    border-radius: 6px;
    background: var(--na-blue);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.portal-dashboard-main button:hover,
.portal-dashboard-main .btn:hover {
    background: var(--na-blue-dark);
}

/* =========================================================
   PUBLIC / LEGACY CONTENT INNER ELEMENTS
   ========================================================= */

.hero,
.cards,
.info {
    width: 100%;
}

.hero {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius);
    box-shadow: var(--na-shadow);
}

.hero h2 {
    margin-top: 0;
    color: var(--na-blue);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius);
    box-shadow: var(--na-shadow);
}

.card h3 {
    margin-top: 0;
    color: var(--na-blue);
}

.info {
    margin-top: 20px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--na-border);
    border-radius: var(--na-radius);
    box-shadow: var(--na-shadow);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .portal-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-content-grid {
        grid-template-columns: 1fr;
    }

    .portal-sidebar {
        width: 220px;
        min-width: 220px;
    }

    .portal-dashboard-footer {
        padding-left: 240px;
    }
}

@media (max-width: 800px) {
    .portal-topbar {
        min-height: 68px;
        padding: 0 16px;
    }

    .portal-user-summary {
        display: none;
    }

    .portal-wordmark {
        min-width: auto;
    }

    .portal-dashboard-layout {
        display: block;
    }

    .portal-sidebar {
        width: 100%;
        min-width: 0;
        padding: 12px;
        border-right: 0;
        border-bottom: 1px solid var(--na-border);
    }

    .portal-company-summary {
        margin-bottom: 10px;
    }

    .portal-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-copyright {
        display: none;
    }

    .portal-dashboard-main {
        padding: 20px 15px 30px;
    }

    .portal-dashboard-footer {
        padding: 15px;
    }

    .portal-status-grid {
        grid-template-columns: 1fr;
    }

    .portal-action-grid {
        grid-template-columns: 1fr;
    }

    .portal-support-panel {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .portal-support-panel > div:nth-child(2) {
        min-width: calc(100% - 55px);
    }

    .portal-support-panel .portal-button {
        margin-left: 52px;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .portal-topbar {
        padding: 0 12px;
    }

    .portal-brand-text strong {
        font-size: 18px;
    }

    .portal-signout {
        padding: 0 10px;
    }

    .portal-navigation {
        grid-template-columns: 1fr;
    }

    .portal-welcome {
        padding: 20px;
    }

    .portal-welcome h1 {
        font-size: 22px;
    }
}


/* =========================================================
   NormAudit Kundenportal – Dashboard Content
   Seitenmenü bleibt unverändert
   ========================================================= */

.portal-overview {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 36px 42px 60px;
    box-sizing: border-box;
}

.portal-overview-heading {
    margin: 0 0 30px;
}

.portal-overview-heading h1 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #1455b8;
}

.portal-overview-heading p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5d6b7d;
}

/* ---------- Statuskarten ---------- */

.portal-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 26px;
}

.portal-stat-card {
    min-height: 126px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 39, 71, 0.06);
}

.portal-status-symbol {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf4ff;
    color: #1455b8;
    font-size: 24px;
    font-weight: 700;
}

.portal-stat-card > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.portal-stat-card strong {
    display: block;
    margin: 0 0 3px;
    font-size: 27px;
    line-height: 1;
    font-weight: 700;
    color: #172b4d;
}

.portal-stat-card span:not(.portal-status-symbol) {
    display: block;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    color: #263b5a;
}

.portal-stat-card small {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #7a8797;
}

/* ---------- Informationen ---------- */

.portal-information {
    margin: 0 0 26px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 39, 71, 0.05);
}

.portal-information h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #172b4d;
}

.portal-information h2 span {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf4ff;
    color: #1455b8;
    font-size: 14px;
    font-weight: 700;
}

.portal-information p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #66758a;
}

/* ---------- Untere Dashboard-Spalten ---------- */

.portal-overview-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.portal-dashboard-panel {
    min-width: 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 39, 71, 0.05);
}

.portal-dashboard-panel h2 {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f4;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: #172b4d;
}

/* ---------- Schnellzugriff ---------- */

.portal-quick-link {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 4px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #edf0f4;
}

.portal-quick-link:last-child {
    border-bottom: 0;
}

.portal-quick-link:hover {
    text-decoration: none;
    background: #f8fafc;
}

.portal-mini-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #edf4ff;
    color: #1455b8;
    font-size: 18px;
    font-weight: 700;
}

.portal-quick-link > span:nth-child(2) {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portal-quick-link strong {
    margin: 0 0 3px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 650;
    color: #203654;
}

.portal-quick-link small {
    font-size: 12px;
    line-height: 1.4;
    color: #7a8797;
}

.portal-quick-link b {
    flex: 0 0 auto;
    margin-left: 8px;
    color: #8a98aa;
    font-size: 23px;
    font-weight: 400;
}

/* ---------- Aktivitäten ---------- */

.portal-activity {
    min-height: 57px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 9px 0;
    box-sizing: border-box;
    border-bottom: 1px solid #edf0f4;
}

.portal-activity:last-child {
    border-bottom: 0;
}

.portal-activity > span:not(.portal-mini-icon) {
    min-width: 0;
    font-size: 14px;
    color: #344965;
}

.portal-activity time {
    white-space: nowrap;
    font-size: 12px;
    color: #8a98aa;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .portal-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-overview-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .portal-overview {
        padding: 24px 18px 40px;
    }

    .portal-overview-heading h1 {
        font-size: 26px;
    }

    .portal-stat-grid {
        grid-template-columns: 1fr;
    }

    .portal-dashboard-panel,
    .portal-information {
        padding: 18px;
    }

    .portal-activity {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .portal-activity time {
        grid-column: 2;
    }
}
