```css id="6v4h8n"
/*
 * Salimi Family Portal
 * Global Visual Design
 */

:root {
    --primary: #244a5a;
    --primary-dark: #183744;
    --secondary: #d6a756;
    --secondary-dark: #b88935;

    --background: #f5f7f8;
    --surface: #ffffff;
    --surface-soft: #eef3f5;

    --text: #24323a;
    --text-light: #68757c;
    --border: #dfe5e8;

    --success: #2f7d4a;
    --danger: #b42318;

    --shadow-sm:
        0 2px 8px rgba(20, 40, 50, .06);

    --shadow:
        0 5px 20px rgba(20, 40, 50, .08);

    --shadow-lg:
        0 12px 35px rgba(20, 40, 50, .12);

    --radius: 14px;

    --max-width: 1180px;
}


/*
 * Reset
 */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        linear-gradient(
            180deg,
            #f8fafb 0%,
            #f3f6f7 100%
        );

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;
}


/*
 * Links
 */

a {
    color: var(--primary);

    text-decoration: none;

    transition:
        color .15s ease,
        opacity .15s ease;
}

a:hover {
    color: var(--primary-dark);
}


/*
 * Layout
 */

.wrap {
    width: min(
        calc(100% - 40px),
        var(--max-width)
    );

    margin-left: auto;
    margin-right: auto;
}

.content {
    padding-top: 40px;
    padding-bottom: 60px;
}


/*
 * Header
 */

.topbar {
    position: sticky;

    top: 0;

    z-index: 100;

    background:
        rgba(255, 255, 255, .96);

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 2px 10px rgba(20, 40, 50, .05);

    backdrop-filter:
        blur(10px);
}

.topbar .wrap {
    min-height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}

.topbar strong {
    color: var(--primary);

    font-size: 19px;

    letter-spacing: -.2px;
}

.topbar nav {
    display: flex;

    align-items: center;

    gap: 22px;

    flex-wrap: wrap;
}

.topbar nav a,
.topbar nav span {
    color: var(--text-light);

    font-size: 14px;

    font-weight: 500;
}

.topbar nav a:hover {
    color: var(--primary);
}


/*
 * Headings
 */

h1,
h2,
h3,
h4 {
    color: var(--text);

    line-height: 1.25;

    letter-spacing: -.3px;
}

h1 {
    font-size: clamp(
        30px,
        4vw,
        42px
    );
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 19px;
}


/*
 * Cards
 */

.card {
    background: var(--surface);

    border:
        1px solid rgba(223, 229, 232, .8);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    padding: 25px;
}


/*
 * Buttons
 */

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding:
        9px 17px;

    border: 0;

    border-radius: 9px;

    background: var(--primary);

    color: #fff;

    font: inherit;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 2px 5px rgba(20, 40, 50, .12);

    transition:
        transform .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

.button:hover {
    color: #fff;

    background:
        var(--primary-dark);

    transform:
        translateY(-1px);

    box-shadow:
        0 5px 12px rgba(20, 40, 50, .16);
}

.button.secondary {
    background:
        var(--surface-soft);

    color:
        var(--primary);

    box-shadow:
        none;
}

.button.secondary:hover {
    background:
        #e3eaed;

    color:
        var(--primary-dark);
}

.button.gold {
    background:
        var(--secondary);
}

.button.gold:hover {
    background:
        var(--secondary-dark);
}


/*
 * Page header
 */

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    margin:
        0 0 8px;
}

.page-header p {
    margin: 0;

    color: var(--text-light);

    font-size: 16px;
}


/*
 * Grid
 */

.grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(260px, 1fr)
        );

    gap: 22px;
}


/*
 * Welcome / Hero
 */

.welcome {
    position: relative;

    overflow: hidden;

    margin-bottom: 30px;

    padding: 45px 40px;

    border-radius:
        20px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    box-shadow:
        var(--shadow-lg);
}

.welcome::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -80px;
    top: -100px;

    border-radius: 50%;

    background:
        rgba(214, 167, 86, .18);
}

.welcome h1 {
    position: relative;

    z-index: 1;

    margin:
        0 0 10px;

    color: #fff;
}

.welcome p {
    position: relative;

    z-index: 1;

    margin: 0;

    max-width: 650px;

    color:
        rgba(255,255,255,.82);

    font-size: 16px;
}


/*
 * Stats
 */

.stats {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(170px, 1fr)
        );

    gap: 18px;
}

.stat-card {
    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    padding: 22px;

    box-shadow:
        var(--shadow-sm);
}

.stat-card strong {
    display: block;

    font-size: 30px;

    line-height: 1.1;

    color: var(--primary);

    margin-bottom: 5px;
}

.stat-card span {
    color: var(--text-light);

    font-size: 14px;
}


/*
 * Photo / image defaults
 */

img {
    max-width: 100%;
}


/*
 * Forms
 */

input,
select,
textarea {
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 3px
        rgba(36, 74, 90, .10);
}


/*
 * Alerts
 */

.error-message {
    background: #fbe4e4;

    color: #8a1f1f;

    border:
        1px solid #f2caca;

    padding: 13px 16px;

    border-radius: 9px;
}

.success-message {
    background: #e7f5eb;

    color: #176b2c;

    border:
        1px solid #c9e8d1;

    padding: 13px 16px;

    border-radius: 9px;
}


/*
 * Items
 */

.item {
    padding:
        14px 0;

    border-bottom:
        1px solid var(--border);
}

.item:last-child {
    border-bottom: 0;
}


/*
 * Empty states
 */

.empty-state,
.no-photos,
.empty-albums,
.empty-members {
    background:
        var(--surface);

    border-radius:
        var(--radius);

    border:
        1px solid var(--border);

    padding:
        55px 25px;

    text-align: center;

    box-shadow:
        var(--shadow-sm);
}

.empty-state-icon {
    font-size: 48px;

    margin-bottom: 12px;
}


/*
 * Responsive
 */

@media (max-width: 750px) {

    .wrap {
        width:
            min(
                calc(100% - 28px),
                var(--max-width)
            );
    }

    .topbar .wrap {
        padding:
            10px 0;

        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 8px;
    }

    .topbar nav {
        gap: 14px;
    }

    .content {
        padding-top: 28px;
    }

    .welcome {
        padding:
            32px 25px;
    }

}

@media (max-width: 480px) {

    .topbar nav {
        width: 100%;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 3px;
    }

    .topbar nav a,
    .topbar nav span {
        white-space: nowrap;
    }

    .button {
        width: 100%;
    }

}
```
