* {
    box-sizing:border-box;
    margin:0;
    padding:0;
    font-family:Arial, sans-serif;
}


body {

    background:#f5f6fa;
    color:#222;

}



header {

    height:70px;
    background:#111827;
    color:white;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 40px;

}



.logo {

    font-size:24px;
    font-weight:bold;

}



.menu button {

    background:none;
    border:none;
    color:white;

    margin-left:15px;

    cursor:pointer;

}



main {

    max-width:1200px;
    margin:auto;
    padding:40px;

}



.hero {

    background:white;

    padding:40px;

    border-radius:20px;

    margin-bottom:30px;

}



.hero h1 {

    font-size:42px;
    max-width:700px;

}



.hero p {

    margin:20px 0;
    color:#666;

}



.primary {

    background:#2563eb;

    color:white;

    border:none;

    padding:14px 25px;

    border-radius:12px;

    cursor:pointer;

    font-size:16px;

}



.dashboard {

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

}



.card {

    background:white;

    padding:25px;

    border-radius:18px;

    box-shadow:0 5px 20px rgba(0,0,0,0.05);

}



.card h3 {

    color:#666;

    margin-bottom:15px;

}



.card strong {

    font-size:30px;

}



.content {

    margin-top:30px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}



.panel {

    background:white;

    padding:25px;

    border-radius:18px;

}



.panel h2 {

    margin-bottom:20px;

}



.empty {

    color:#777;

    padding:30px;

    text-align:center;

}



footer {

    text-align:center;

    padding:30px;

    color:#777;

}



@media(max-width:800px){

.dashboard {

grid-template-columns:1fr;

}


.content {

grid-template-columns:1fr;

}


.hero h1 {

font-size:30px;

}

.section-title {

margin:40px 0 20px;

}



.assets-grid {

display:grid;

grid-template-columns:
repeat(3,1fr);

gap:20px;

}



.asset-card {

background:white;

padding:25px;

border-radius:18px;

}



.asset-card h3 {

font-size:22px;

}



.asset-info {

margin-top:15px;

color:#555;

line-height:1.8;

}



.modal {

display:none;

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,.5);

align-items:center;

justify-content:center;

}



.modal-box {

background:white;

padding:30px;

border-radius:20px;

width:400px;

}



.modal-box input,
.modal-box select {

width:100%;

padding:12px;

margin:8px 0 15px;

border-radius:8px;

border:1px solid #ddd;

}



.modal-box button {

margin-right:10px;

}



@media(max-width:800px){

.assets-grid{

grid-template-columns:1fr;

}

}

.asset-card button {

margin-top:15px;

padding:10px 15px;

border:none;

background:#2563eb;

color:white;

border-radius:8px;

cursor:pointer;

}



.risk {

padding:10px;

background:#f3f4f6;

margin:5px 0;

border-radius:8px;

}

#costChart {

max-height:300px;

margin-top:20px;

}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    border: 2px solid #333;
    border-radius: 8px;
    transition: 0.2s;
}

.home-btn:hover {
    background: #333;
    color: white;
}

}

