/* =========================
   BASE
========================= */

#lsg-tool {
    max-width: 1100px;
    margin: auto;
    font-family: system-ui;
}

/* =========================
   FORM
========================= */

.lsg-form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.lsg-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.lsg-row input {
    width: 100%;
    padding: 10px;
}

/* =========================
   BUTTON
========================= */

.lsg-btn-primary {
    background: #ff6a3d;
    color: #fff;
    padding: 12px;
    border: none;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

/* =========================
   RESULT LAYOUT
========================= */

.lsg-two-col {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.lsg-card {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    flex: 1;
}

/* =========================
   GRID
========================= */

.lsg-grid-board {
    display: grid;
    grid-template-columns: repeat(3, 90px);
    gap: 10px;
    justify-content: center;
}

.lsg-grid-cell {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    text-align: center;
    padding-top: 10px;
}

.lsg-grid-cell strong {
    font-size: 20px;
}

.lsg-grid-cell small {
    display: block;
    font-size: 11px;
}

/* STATES */

.active {
    background: #4caf50;
    color: #fff;
}

.missing {
    background: #eee;
}

.dominant {
    background: #2196f3;
    color: #fff;
}

/* =========================
   PLANES
========================= */

.lsg-plane-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.lsg-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.lsg-badge.active {
    background: #4caf50;
    color: #fff;
}

.lsg-badge.partial {
    background: #ffc107;
}

.lsg-badge.missing {
    background: #f44336;
    color: #fff;
}

/* =========================
   SUMMARY
========================= */

.lsg-summary-card {
    background: #0d8b8b;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
}

/* =========================
   UTIL
========================= */

.hidden {
    display: none;
}