body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

#status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #333;
}

.mol-table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    min-width: 1200px;
}

.mol-table th,
.mol-table td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    text-align: center;
    vertical-align: middle;
    word-break: break-word;
}

.mol-table th {
    background-color: #f5f5f5;
}

.mol-table td svg {
    display: block;
    margin: 0 auto;
}

.mol-table th:nth-child(1),
.mol-table td:nth-child(1) {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
}

.mol-table th:nth-child(2),
.mol-table td:nth-child(2) {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
}

.mol-table th:nth-child(3),
.mol-table td:nth-child(3) {
    width: 220px;
    min-width: 220px;
}

.mol-table th:nth-child(n+4),
.mol-table td:nth-child(n+4) {
    width: 160px;
    min-width: 120px;
}

.popup-dialog {
    position: fixed;
    top: 80px;
    right: 40px;

    background: white;
    border: 1px solid #999;
    padding: 15px;

    z-index: 9999;
    max-height: 500px;
    overflow-y: auto;

    box-shadow: 0 0 10px #999;
}

.popup-dialog h3 {
    margin-top: 0;
    cursor: move;
    user-select: none;
}

.filter-dialog {
    width: 760px;
    max-width: 90vw;
}

.filter-table {
    border-collapse: collapse;
    width: 100%;
}

.filter-table th,
.filter-table td {
    padding: 6px;
    text-align: left;
}

.filter-table input[type="text"] {
    width: 120px;
}

button {
    height: 28px;
    min-width: 80px;

    padding: 0 10px;

    border: 0px solid;
    border-radius: 4px;

    background: #14989a;
    color: white;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    box-sizing: border-box;
}

button:hover {
    background: #0f7f81;
}

button:active {
    background: #dcecff;
}

button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.button-area {
    display: flex;
    align-items: flex-start;
    gap: 2px;

    margin-top: 0;
    padding-top: 0;
}

.button-area button {
    min-width: 90px;
}

label {
    color: #555;
}

input[type="text"],
input[type="number"] {
    height: 24px;
    box-sizing: border-box;
}

.file-open-area {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

#fileNameText {
    color: #333;
    font-size: 13px;
}


#footerInfo {
    position: fixed;

    right: 12px;
    bottom: 8px;

    font-size: 11px;
    color: #888;

    z-index: 999;
}

#molZoomOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;
}

#molZoomBox {
    background: white;
    padding: 16px;
    border: 1px solid #999;
    box-shadow: 0 0 12px #333;
    text-align: center;
}

#molZoomImage svg {
    width: 520px;
    height: 420px;
}

#molZoomButtons {
    margin-top: 10px;
}