
*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f4f6f8;color:#17212b}
nav{background:#17212b;padding:14px 20px}nav a{color:#fff;text-decoration:none;margin-right:18px;font-weight:700}
main{max-width:1180px;margin:25px auto;padding:0 16px}.card{background:#fff;border:1px solid #e0e5ea;border-radius:12px;padding:18px;margin:14px 0}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.kpi{font-size:29px;font-weight:800;margin-top:7px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.btn,button{background:#1769aa;color:#fff;border:0;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer;text-decoration:none;display:inline-block}
.secondary{background:#e8edf2;color:#22313f}.danger{background:#b8322a}
input,select,textarea{width:100%;padding:10px;border:1px solid #cbd3da;border-radius:7px;margin:5px 0 12px}
table{width:100%;border-collapse:collapse}th,td{padding:10px;border-bottom:1px solid #edf0f3;text-align:left;font-size:13px}.muted{color:#6c7883;font-size:13px}
.mobile{max-width:580px;margin:0 auto}.bigchoice{width:100%;padding:18px;margin:7px 0;font-size:17px}.tele{background:#e8f6ee;border:1px solid #b9dfc7;padding:12px;border-radius:9px}
@media(max-width:700px){.cards,.grid{grid-template-columns:1fr}nav{overflow:auto;white-space:nowrap}}
/* Migliorie tabella Ascensori */

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    vertical-align: top;
    padding: 12px 10px;
}

table th {
    white-space: nowrap;
}

table td:nth-child(1) {
    min-width: 90px;
    white-space: nowrap;
}

table td:nth-child(2) {
    min-width: 80px;
    white-space: nowrap;
}

table td:nth-child(3) {
    min-width: 95px;
}

table td:nth-child(4) {
    min-width: 150px;
}

table td:nth-child(5) {
    min-width: 180px;
}

table td:nth-child(6) {
    min-width: 160px;
}

table td:nth-child(7) {
    min-width: 90px;
}

table td:nth-child(8) {
    min-width: 130px;
}

table td:nth-child(9) {
    min-width: 220px;
}

table td:nth-child(9) a {
    display: inline-block;
    margin: 2px 6px 2px 0;
}
/* Azioni tabella ascensori */
table td:last-child {
    min-width: 180px;
    white-space: normal;
}

table td:last-child a {
    display: inline-block;
    margin: 3px 8px 3px 0;
}

table {
    table-layout: auto;
}

.card {
    overflow-x: auto;
}
/* Rifinitura tabella Ascensori */
table th,
table td {
    font-size: 14px;
    padding: 10px 8px;
}

table td:nth-child(4),
table th:nth-child(4) {
    min-width: 140px;
}

table td:nth-child(5),
table th:nth-child(5) {
    min-width: 160px;
}

table td:nth-child(6),
table th:nth-child(6) {
    min-width: 130px;
}

table td:nth-child(9),
table th:nth-child(9) {
    min-width: 150px;
}

table td:last-child a {
    display: inline-block;
    margin: 2px 6px 2px 0;
    white-space: nowrap;
}

.card {
    overflow-x: visible;
}